Skip to content

Commit 16c16ea

Browse files
add env variables for R2 cache batch uploads
1 parent 2f8f965 commit 16c16ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/tmp-cloudflare-open-next-deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,8 @@ jobs:
6464
env:
6565
CF_WORKERS_SCRIPTS_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
6666
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
67+
CLOUDFLARE_ACCOUNT_ID: fb4a2d0f103c6ff38854ac69eb709272
68+
# Note the R2_* env variables below are useful for speeding up the assets upload
69+
# process, see: https://opennext.js.org/cloudflare/cli#populatecache-command
70+
R2_ACCESS_KEY_ID: ${{ env.R2_ACCESS_KEY_ID }}
71+
R2_SECRET_ACCESS_KEY`: ${{ secrets.R2_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)