Skip to main content
Glama
pages.yml1.96 kB
name: Deploy Documentation to GitHub Pages on: push: branches: [ main ] workflow_dispatch: permissions: contents: read pages: write id-token: write concurrency: group: "pages" cancel-in-progress: false jobs: build: name: Build Documentation runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 - name: Setup Node.js uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 with: node-version: '18' cache: 'npm' - name: Install dependencies run: npm ci - name: Run tests for coverage run: npm run test:coverage - name: Generate documentation run: | # Extract tool information from code node scripts/docs/extract-docs.js # Generate detailed tools documentation node scripts/docs/generate-tools-html.js # Generate landing page with dynamic tool information node scripts/docs/generate-landing-page.js # Copy coverage reports to docs directory if [ -d "coverage" ]; then echo "Copying coverage reports to docs/coverage..." cp -r coverage docs/ else echo "Warning: Coverage directory not found" fi - name: Setup Pages uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b - name: Upload artifact uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b with: path: './docs' deploy: name: Deploy to GitHub Pages environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build steps: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/egarcia74/warp-sql-server-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server