Skip to content

Commit 9cde77c

Browse files
committed
github action fixes
1 parent 6fe1dc9 commit 9cde77c

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/api_cd.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212
- uses: ./.github/actions/pnpm_install
13-
- uses: cloudflare/wrangler-action@v3
14-
with:
15-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
16-
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
1713
- run: pnpm -F @hypr/api deploy
14+
env:
15+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
16+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

.github/workflows/web_cd.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212
- uses: ./.github/actions/pnpm_install
13-
- uses: cloudflare/wrangler-action@v3
14-
with:
15-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
16-
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
1713
- run: pnpm -F @hypr/web deploy
14+
env:
15+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
16+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

0 commit comments

Comments
 (0)