Skip to content

Commit

Permalink
Use npx
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh-mn-yral committed Jul 23, 2024
1 parent 63b38dd commit 4f24b9a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/workers-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
- uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_WORKERS_DEPLOY_API_TOKEN }}
secrets: |
CLOUDFLARE_API_TOKEN
environment: "main"
workingDirectory: "packages/workers/"
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_STREAM_IMAGES_API_TOKEN }}
postCommands: |
echo "${{ secrets.CLOUDFLARE_STREAM_IMAGES_API_TOKEN }}" | npx wrangler secret put CLOUDFLARE_API_TOKEN

0 comments on commit 4f24b9a

Please sign in to comment.