worker env vars fix
This commit is contained in:
parent
a8c9bd845b
commit
c99b9710b5
|
|
@ -24,9 +24,10 @@ jobs:
|
||||||
working-directory: ./worker
|
working-directory: ./worker
|
||||||
|
|
||||||
- name: Deploy to Cloudflare Workers
|
- name: Deploy to Cloudflare Workers
|
||||||
uses: cloudflare/wrangler-action@v4
|
run: |
|
||||||
with:
|
npm install -g wrangler@3.107.3
|
||||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
wrangler deploy
|
||||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
working-directory: ./worker
|
||||||
workingDirectory: "worker"
|
env:
|
||||||
command: deploy
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
|
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue