Skip to content

Commit a5e7b69

Browse files
committed
ci: forward cloudflare env vars
1 parent 9b81410 commit a5e7b69

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
3232
- name: Build & Deploy
3333
shell: bash
34-
run: pnpm run deploy
34+
run: pnpm turbo deploy --ui stream
3535
env:
3636
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
3737
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

turbo.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"$schema": "https://turborepo.com/schema.json",
33
"ui": "tui",
4-
"globalPassThroughEnv": ["CLOUDFLARE_ACCOUNT_ID"],
4+
"globalPassThroughEnv": [
5+
"CLOUDFLARE_ACCOUNT_ID",
6+
"CLOUDFLARE_API_TOKEN",
7+
"CLOUDFLARE_ACCOUNT_ID"
8+
],
59
"globalDependencies": ["default-config.ts", "theme/**"],
610
"tasks": {
711
"deploy": {

0 commit comments

Comments
 (0)