diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 551aa823ca..21c66d973e 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -38,9 +38,11 @@ jobs: node-version: '16' - uses: bahmutov/npm-install@v1 - name: Publish app + if: env.CF_API_TOKEN uses: cloudflare/wrangler-action@1.3.0 env: SENTRY_TOKEN: ${{secrets.SENTRY_TOKEN}} + CF_API_TOKEN: ${{secrets.CF_API_TOKEN}} with: apiToken: ${{secrets.CF_API_TOKEN }} workingDirectory: 'packages/api'