Skip to main content
Glama
deploy-webapp.yaml1.26 kB
name: Deploy Webapp to GitHub Pages on: push: branches: [main] paths: - "webapp/**" workflow_dispatch: permissions: contents: read pages: write id-token: write concurrency: group: "pages" cancel-in-progress: false jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: "20" cache: "npm" cache-dependency-path: webapp/package-lock.json - uses: actions/configure-pages@v4 - name: Create .env file run: | cat <<EOF > ./webapp/.env REACT_APP_FORMSPREE_FORM_IDS=${{ secrets.REACT_APP_FORMSPREE_FORM_IDS }} REACT_APP_CONTACT_EMAILS=${{ secrets.REACT_APP_CONTACT_EMAILS }} EOF - run: npm ci working-directory: ./webapp - run: npm run build working-directory: ./webapp - uses: actions/upload-pages-artifact@v3 with: path: ./webapp/build deploy: 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@v4

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/hannesill/m4'

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