Skip to content

Commit

Permalink
Remove the environment parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmello authored Oct 9, 2024
1 parent 7cb0ad9 commit e164665
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release-mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
packageManager: yarn
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
environment: Production
preCommands: echo "Deploying to ${{ vars.PRODUCTION_ENV_NAME }}"
command: pages deploy ./dist --project-name ${{ vars.PRODUCTION_ENV_NAME }} --branch ${{ env.GITHUB_REF_NAME }} --commit-hash ${{ env.GITHUB_SHA }}

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
packageManager: yarn
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
environment: Production # This is a different app, so we need to specify the environment (Production or Preview)
# The default branch for mainnet is main, and for the testnet is testnet
command: pages deploy ./dist --project-name ${{ vars.DEVELOPMENT_ENV_NAME }} --branch testnet --commit-hash ${{ env.GITHUB_SHA }}

Expand Down

0 comments on commit e164665

Please sign in to comment.