Skip to content

Commit c0b8e32

Browse files
committed
ci: fix en variable
1 parent 6d67b85 commit c0b8e32

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/nightly.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ jobs:
5959
id: metadata
6060
shell: pwsh
6161
env:
62-
CF_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
63-
CF_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
64-
NIGHTLY_BUCKET: ${{ secrets.NIGHTLY_BUCKET }}
62+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
63+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
64+
NIGHTLY_BUCKET: ${{ vars.NIGHTLY_BUCKET }}
6565
NIGHTLY_PUBLIC_BASE_URL: ${{ vars.NIGHTLY_PUBLIC_BASE_URL }}
6666
NIGHTLY_VERSION: ${{ needs.build.outputs.nightly-version }}
6767
WRANGLER_SEND_METRICS: false
@@ -71,12 +71,12 @@ jobs:
7171
throw 'Nightly version was not produced by the build workflow.'
7272
}
7373
74-
if ([string]::IsNullOrWhiteSpace($env:CF_API_TOKEN)) {
75-
throw 'CF_API_TOKEN is not configured.'
74+
if ([string]::IsNullOrWhiteSpace($env:CLOUDFLARE_API_TOKEN)) {
75+
throw 'CLOUDFLARE_API_TOKEN is not configured.'
7676
}
7777
78-
if ([string]::IsNullOrWhiteSpace($env:CF_ACCOUNT_ID)) {
79-
throw 'CF_ACCOUNT_ID is not configured.'
78+
if ([string]::IsNullOrWhiteSpace($env:CLOUDFLARE_ACCOUNT_ID)) {
79+
throw 'CLOUDFLARE_ACCOUNT_ID is not configured.'
8080
}
8181
8282
if ([string]::IsNullOrWhiteSpace($env:NIGHTLY_BUCKET)) {

0 commit comments

Comments
 (0)