Make all GraphQL calls use the new generated code from graphql-codegen #422
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16.x' | |
- run: npm ci | |
- run: npm run build | |
- run: npm i @cloudflare/[email protected] | |
- run: CF_ACCOUNT_ID=${{ secrets.CF_ACCOUNT_ID }} CF_ZONE_ID=${{ secrets.CF_ZONE_ID }} CF_API_TOKEN=${{ secrets.CF_API_TOKEN }} npx wrangler publish |