Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(all): pass --env option #2540

Merged
merged 1 commit into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main-console.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'apps/console'
command: publish --config wrangler.dev.toml
command: publish --config wrangler.dev.toml --env dev
environment: 'dev'
secrets: |
SECRET_SESSION_KEY
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: platform/core
command: publish --config wrangler.dev.toml
command: publish --config wrangler.dev.toml --env dev
environment: 'dev'
secrets: |
SECRET_JWK_CURRENT_KID
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-email.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: platform/email
command: publish --config wrangler.dev.toml
command: publish --config wrangler.dev.toml --env dev
environment: 'dev'
secrets: |
INTERNAL_DKIM_DOMAIN
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-galaxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'platform/galaxy'
command: publish --config wrangler.dev.toml
command: publish --config wrangler.dev.toml --env dev
environment: 'dev'
env:
NODE_ENV: 'development'
2 changes: 1 addition & 1 deletion .github/workflows/main-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'platform/images'
command: publish --config wrangler.dev.toml
command: publish --config wrangler.dev.toml --env dev
environment: 'dev'
# This causes secrets to be set as if by: $ wrangler secret put.
# Each supplied name must be defined in the env: config stanza.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-passport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'apps/passport'
command: publish --config wrangler.dev.toml
command: publish --config wrangler.dev.toml --env dev
environment: 'dev'
secrets: |
SECRET_SESSION_KEY
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'apps/profile'
command: publish --config wrangler.dev.toml
command: publish --config wrangler.dev.toml --env dev
environment: 'dev'
secrets: |
SECRET_SESSION_KEY
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/next-console.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'apps/console'
command: publish --config wrangler.next.toml
command: publish --config wrangler.next.toml --env next
environment: 'next'
secrets: |
SECRET_SESSION_KEY
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/next-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: platform/core
command: publish --config wrangler.next.toml
command: publish --config wrangler.next.toml --env next
environment: 'next'
secrets: |
SECRET_JWK_CURRENT_KID
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/next-email.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: platform/email
command: publish --config wrangler.next.toml
command: publish --config wrangler.next.toml --env next
environment: 'next'
secrets: |
INTERNAL_DKIM_DOMAIN
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/next-galaxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'platform/galaxy'
command: publish --config wrangler.next.toml
command: publish --config wrangler.next.toml --env next
environment: 'next'
2 changes: 1 addition & 1 deletion .github/workflows/next-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'platform/images'
command: publish --config wrangler.next.toml
command: publish --config wrangler.next.toml --env next
environment: 'next'
# This causes secrets to be set as if by: $ wrangler secret put.
# Each supplied name must be defined in the env: config stanza.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/next-passport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'apps/passport'
command: publish --config wrangler.next.toml
command: publish --config wrangler.next.toml --env next
environment: 'next'
secrets: |
SECRET_SESSION_KEY
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/next-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'apps/profile'
command: publish --config wrangler.next.toml
command: publish --config wrangler.next.toml --env next
environment: 'next'
secrets: |
SECRET_SESSION_KEY
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-console.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'apps/console'
command: publish --config wrangler.current.toml
command: publish --config wrangler.current.toml --env current
environment: 'current'
secrets: |
SECRET_SESSION_KEY
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: platform/core
command: publish --config wrangler.current.toml
command: publish --config wrangler.current.toml --env current
environment: 'current'
secrets: |
SECRET_JWK_CURRENT_KID
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-email.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: platform/email
command: publish --config wrangler.current.toml
command: publish --config wrangler.current.toml --env current
environment: 'current'
secrets: |
INTERNAL_DKIM_DOMAIN
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-galaxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'platform/galaxy'
command: publish --config wrangler.current.toml
command: publish --config wrangler.current.toml --env current
environment: 'current'
2 changes: 1 addition & 1 deletion .github/workflows/release-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'platform/images'
command: publish --config wrangler.current.toml
command: publish --config wrangler.current.toml --env current
environment: 'current'
# This causes secrets to be set as if by: $ wrangler secret put.
# Each supplied name must be defined in the env: config stanza.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-passport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'apps/passport'
command: publish --config wrangler.current.toml
command: publish --config wrangler.current.toml --env current
environment: 'current'
secrets: |
SECRET_SESSION_KEY
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'apps/profile'
command: publish --config wrangler.current.toml
command: publish --config wrangler.current.toml --env current
environment: 'current'
secrets: |
SECRET_SESSION_KEY
Expand Down