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