Skip to content

feat: add apollo studio docs (#375) #66

feat: add apollo studio docs (#375)

feat: add apollo studio docs (#375) #66

Workflow file for this run

name: Deploy to Production
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: "production"
cancel-in-progress: false
jobs:
build-and-deploy:
name: Build and Deploy to Cloudflare
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: '.nvmrc'
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build documentation
run: npm run build
- name: Deploy to Cloudflare Workers
run: npx wrangler@latest deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_DEPLOY_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
algolia-reindex:
needs: build-and-deploy
uses: ./.github/workflows/algolia-reindex.yml
secrets: inherit