Skip to content

Commit

Permalink
Wrangler 2 (#2266)
Browse files Browse the repository at this point in the history
Use v2
  • Loading branch information
harsh-mn-yral authored Jul 23, 2024
1 parent 86a2cc4 commit 781cd54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workers-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
node-version: 20
cache: "npm"
- run: cd packages/workers && npm install
- uses: cloudflare/wrangler-action@v3
- uses: cloudflare/wrangler-action@2.0.0
with:
apiToken: ${{ secrets.CLOUDFLARE_WORKERS_DEPLOY_API_TOKEN }}
environment: "main"
workingDirectory: "packages/workers/"
postCommands: |
echo "${{ secrets.CLOUDFLARE_STREAM_IMAGES_API_TOKEN }}" | npx wrangler secret put CLOUDFLARE_API_TOKEN
echo "${{ secrets.CLOUDFLARE_STREAM_IMAGES_API_TOKEN }}" | wrangler secret put CLOUDFLARE_API_TOKEN

0 comments on commit 781cd54

Please sign in to comment.