Skip to content

Commit

Permalink
ci(api): Try another way of deploy-dev not breaking if CF_API_TOKEN i…
Browse files Browse the repository at this point in the history
…s not set
  • Loading branch information
gobengo committed Apr 8, 2022
1 parent 1f110d1 commit 56d5018
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 56d5018

Please sign in to comment.