-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Copilot/fix 44d8dbc1 3c4c 419a 88cf 09f76737c02b #2196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,122 @@ | ||||||||||
| name: Deploy GitHub Pages | ||||||||||
|
|
||||||||||
| on: | ||||||||||
| push: | ||||||||||
| branches: [ main, master ] | ||||||||||
| paths: | ||||||||||
| - '*.html' | ||||||||||
| - '.github/workflows/pages.yml' | ||||||||||
| pull_request: | ||||||||||
| branches: [ main, master ] | ||||||||||
| paths: | ||||||||||
| - '*.html' | ||||||||||
| - '.github/workflows/pages.yml' | ||||||||||
|
Comment on lines
+9
to
+13
|
||||||||||
|
|
||||||||||
| # Allows you to run this workflow manually from the Actions tab | ||||||||||
| workflow_dispatch: | ||||||||||
|
|
||||||||||
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||||||||||
| permissions: | ||||||||||
| contents: read | ||||||||||
| pages: write | ||||||||||
| id-token: write | ||||||||||
|
|
||||||||||
| # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||||||||||
| # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||||||||||
| concurrency: | ||||||||||
| group: "pages" | ||||||||||
| cancel-in-progress: false | ||||||||||
|
|
||||||||||
| jobs: | ||||||||||
| # Build job | ||||||||||
| build: | ||||||||||
| runs-on: ubuntu-latest | ||||||||||
| steps: | ||||||||||
| - name: Checkout | ||||||||||
| uses: actions/checkout@v4 | ||||||||||
|
|
||||||||||
| - name: Setup Pages | ||||||||||
| uses: actions/configure-pages@v4 | ||||||||||
|
|
||||||||||
| - name: Create Pages directory | ||||||||||
| run: | | ||||||||||
| mkdir -p _site | ||||||||||
| cp *.html _site/ 2>/dev/null || true | ||||||||||
|
|
||||||||||
| # Create index.html that redirects to the AI Story Studio | ||||||||||
| cat > _site/index.html << 'EOF' | ||||||||||
| <!DOCTYPE html> | ||||||||||
| <html lang="en"> | ||||||||||
| <head> | ||||||||||
| <meta charset="UTF-8"> | ||||||||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||||||||
| <title>GitHub MCP Server Demos</title> | ||||||||||
| <meta http-equiv="refresh" content="0; url=ai-story-studio-combined.html"> | ||||||||||
| <style> | ||||||||||
| body { | ||||||||||
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; | ||||||||||
| display: flex; | ||||||||||
| justify-content: center; | ||||||||||
| align-items: center; | ||||||||||
| min-height: 100vh; | ||||||||||
| margin: 0; | ||||||||||
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | ||||||||||
| color: white; | ||||||||||
| text-align: center; | ||||||||||
| } | ||||||||||
| .container { | ||||||||||
| max-width: 600px; | ||||||||||
| padding: 40px; | ||||||||||
| } | ||||||||||
| h1 { | ||||||||||
| font-size: 3rem; | ||||||||||
| margin-bottom: 20px; | ||||||||||
| text-shadow: 2px 2px 4px rgba(0,0,0,0.3); | ||||||||||
| } | ||||||||||
| p { | ||||||||||
| font-size: 1.2rem; | ||||||||||
| margin-bottom: 30px; | ||||||||||
| opacity: 0.9; | ||||||||||
| } | ||||||||||
| a { | ||||||||||
| display: inline-block; | ||||||||||
| background: rgba(255,255,255,0.2); | ||||||||||
| color: white; | ||||||||||
| padding: 15px 30px; | ||||||||||
| border-radius: 25px; | ||||||||||
| text-decoration: none; | ||||||||||
| transition: all 0.3s ease; | ||||||||||
| backdrop-filter: blur(10px); | ||||||||||
| font-weight: 500; | ||||||||||
| } | ||||||||||
| a:hover { | ||||||||||
| background: rgba(255,255,255,0.3); | ||||||||||
| transform: translateY(-2px); | ||||||||||
| } | ||||||||||
| </style> | ||||||||||
| </head> | ||||||||||
| <body> | ||||||||||
| <div class="container"> | ||||||||||
| <h1>🤖 GitHub MCP Server</h1> | ||||||||||
| <p>Demo Applications</p> | ||||||||||
| <p>Redirecting to AI Story Studio...</p> | ||||||||||
| <a href="ai-story-studio-combined.html">Enter AI Story Studio</a> | ||||||||||
| </div> | ||||||||||
| </body> | ||||||||||
| </html> | ||||||||||
| EOF | ||||||||||
|
|
||||||||||
| - name: Upload artifact | ||||||||||
| uses: actions/upload-pages-artifact@v3 | ||||||||||
|
||||||||||
| uses: actions/upload-pages-artifact@v3 | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: ./_site |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -12,6 +12,21 @@ The GitHub MCP Server connects AI tools directly to GitHub's platform. This give | |||||||||
|
|
||||||||||
| Built for developers who want to connect their AI tools to GitHub context and capabilities, from simple natural language queries to complex multi-step agent workflows. | ||||||||||
|
|
||||||||||
| ## 🎨 Demo Applications | ||||||||||
|
|
||||||||||
| ### AI Story Studio | ||||||||||
| Experience the GitHub MCP Server capabilities through our interactive demo application: | ||||||||||
|
|
||||||||||
| **[🚀 Launch AI Story Studio Demo](https://kalosha959-wq.github.io/github-mcp-server/ai-story-studio-combined.html)** | ||||||||||
|
|
||||||||||
|
Comment on lines
+20
to
+21
|
||||||||||
| **[🚀 Launch AI Story Studio Demo](https://kalosha959-wq.github.io/github-mcp-server/ai-story-studio-combined.html)** | |
| **[🚀 Launch AI Story Studio Demo](ai-story-studio-combined.html)** | |
| When published via GitHub Pages, this will be available at `https://<owner>.github.io/<repo>/ai-story-studio-combined.html`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The lines added here make this workflow invalid YAML (a mis-indented
- name:underrun:), which will break CI. Remove the artifact-upload block or re-add it as a properly indented step understeps:.