Skip to content

Commit 16f1ac0

Browse files
authored
Update deploy.yml
1 parent 9db11ee commit 16f1ac0

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,32 @@ jobs:
1010
deploy:
1111
runs-on: ubuntu-latest
1212
name: Deploy
13+
env:
14+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
15+
1316
steps:
14-
- uses: actions/checkout@v6
17+
- uses: actions/checkout@v4
18+
1519
- name: Setup node
16-
uses: actions/setup-node@v6
20+
uses: actions/setup-node@v4
1721
with:
18-
node-version: '20.x'
22+
node-version: 24
1923
registry-url: 'https://registry.npmjs.org'
24+
2025
- name: Setup R2-Explorer
2126
env:
22-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
2327
R2EXPLORER_WORKER_NAME: ${{ vars.R2EXPLORER_WORKER_NAME }}
2428
R2EXPLORER_CONFIG: ${{ vars.R2EXPLORER_CONFIG }}
2529
R2EXPLORER_BUCKETS: ${{ vars.R2EXPLORER_BUCKETS }}
2630
R2EXPLORER_DOMAIN: ${{ vars.R2EXPLORER_DOMAIN }}
2731
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
2832
run: node packages/github-action/prepareDeploy.js
33+
2934
- name: Get latest version
3035
run: cd packages/github-action && npm install && npm install --save r2-explorer@latest
36+
3137
- name: Deploy
32-
uses: cloudflare/wrangler-action@v4
38+
uses: cloudflare/wrangler-action@v3
3339
with:
3440
apiToken: ${{ secrets.CF_API_TOKEN }}
35-
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3641
workingDirectory: "packages/github-action"

0 commit comments

Comments
 (0)