Skip to main content
Glama
deleonio
by deleonio
draft-deploy.yml2.47 kB
name: Netlify Draft-Deploy on: workflow_dispatch: pull_request: types: [opened, synchronize, reopened] concurrency: group: 'workflow-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}' cancel-in-progress: true jobs: deploy: # Skip this job when the base clone URL may be different from the head clone URL. if: github.event.pull_request.head.repo.fork == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 with: fetch-depth: 0 persist-credentials: false # https://github.com/pnpm/action-setup#use-cache-to-reduce-installation-time - name: Install Node.js uses: actions/setup-node@v6 with: node-version: 22 - name: Install pnpm uses: pnpm/action-setup@v4 id: pnpm-install with: version: 10 - name: Get pnpm store directory id: pnpm-cache shell: bash run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v4 name: Setup pnpm cache with: path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} key: ${{ runner.os }}-pnpm-store restore-keys: | ${{ runner.os }}-pnpm-store - name: Install run: pnpm i --no-frozen-lockfile --no-verify-store-integrity - name: Build run: pnpm --filter @public-ui/sample-react... build - name: Netlify Deploy uses: netlify/actions/cli@master id: netlify env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ vars.NETLIFY_SITE_ID }} with: args: deploy --no-build --filter=@public-ui/sample-react -d packages/samples/react/dist - name: Find comment uses: peter-evans/find-comment@v4 id: fc with: issue-number: ${{ github.event.pull_request.number }} comment-author: 'github-actions[bot]' body-includes: Netlify Draft Deployment - name: Create or update comment uses: peter-evans/create-or-update-comment@v5 with: comment-id: ${{ steps.fc.outputs.comment-id }} issue-number: ${{ github.event.pull_request.number }} body: | Netlify Draft Deployment URL: ${{ steps.netlify.outputs.NETLIFY_URL }} Logs: ${{ steps.netlify.outputs.NETLIFY_LOGS_URL }} edit-mode: replace

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/deleonio/public-ui-kolibri'

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