From e1646653fef0eb8e2b51982b43b67270de3f7263 Mon Sep 17 00:00:00 2001 From: Davi Mello Date: Wed, 9 Oct 2024 19:35:28 +0100 Subject: [PATCH] Remove the environment parameter --- .github/workflows/release-mainnet.yml | 1 - .github/workflows/release-testnet.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/release-mainnet.yml b/.github/workflows/release-mainnet.yml index c84de67..5e38de1 100644 --- a/.github/workflows/release-mainnet.yml +++ b/.github/workflows/release-mainnet.yml @@ -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 }} diff --git a/.github/workflows/release-testnet.yml b/.github/workflows/release-testnet.yml index f021eb8..1a675ca 100644 --- a/.github/workflows/release-testnet.yml +++ b/.github/workflows/release-testnet.yml @@ -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 }}