Skip to content

Commit 2a9243a

Browse files
committed
ci(github): i am bad at this
1 parent 37d80b1 commit 2a9243a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/api.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ jobs:
7575
- uses: bahmutov/npm-install@v1
7676
- name: Publish api worker
7777
uses: cloudflare/wrangler-action@v3
78-
wranglerVersion: "2.20.0"
7978
env:
8079
ENV: 'staging' # inform the build process what the env is
8180
SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN}}
@@ -84,6 +83,7 @@ jobs:
8483
NEXT_PUBLIC_W3UP_LAUNCH_SUNSET_START: ${{ vars.NEXT_PUBLIC_W3UP_LAUNCH_SUNSET_START }}
8584
NEXT_PUBLIC_W3UP_LAUNCH_LIMITED_AVAILABILITY_START: ${{ vars.NEXT_PUBLIC_W3UP_LAUNCH_LIMITED_AVAILABILITY_START }}
8685
with:
86+
wranglerVersion: "2.20.0"
8787
apiToken: ${{ secrets.CF_TOKEN }}
8888
workingDirectory: 'packages/api'
8989
environment: 'staging'
@@ -117,7 +117,6 @@ jobs:
117117
- uses: bahmutov/npm-install@v1
118118
- name: API - Deploy to Cloudflare
119119
uses: cloudflare/wrangler-action@v3
120-
wranglerVersion: "2.20.0"
121120
env:
122121
ENV: 'production' # inform the build process what the env is
123122
SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN}}
@@ -126,6 +125,7 @@ jobs:
126125
NEXT_PUBLIC_W3UP_LAUNCH_SUNSET_START: ${{ vars.NEXT_PUBLIC_W3UP_LAUNCH_SUNSET_START }}
127126
NEXT_PUBLIC_W3UP_LAUNCH_LIMITED_AVAILABILITY_START: ${{ vars.NEXT_PUBLIC_W3UP_LAUNCH_LIMITED_AVAILABILITY_START }}
128127
with:
128+
wranglerVersion: "2.20.0"
129129
apiToken: ${{ secrets.CF_TOKEN }}
130130
workingDirectory: 'packages/api'
131131
environment: 'production'

0 commit comments

Comments
 (0)