workaround to fix failing workflow. Refs #162

The action fails to upload secrets during one of the testing steps since the Worker doesn't exist yet.
This commit is contained in:
Cina Saffary 2023-08-29 19:39:50 -05:00
parent 71199d2757
commit d7637bf514

View file

@ -51,6 +51,7 @@ jobs:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
environment: dev environment: dev
preCommands: npx wrangler deploy --env dev # https://github.com/cloudflare/wrangler-action/issues/162
secrets: | secrets: |
SECRET1 SECRET1
SECRET2 SECRET2