diff --git a/.github/workflows/ci-cd-trigger.yml b/.github/workflows/ci-cd-trigger.yml index e16a4cc68..f2115f946 100644 --- a/.github/workflows/ci-cd-trigger.yml +++ b/.github/workflows/ci-cd-trigger.yml @@ -142,10 +142,15 @@ jobs: if echo "$affected" | grep -q multisig-signer; then echo "Tools are affected" # tools are only applicable to check previews or deploy from develop to mainnet - if [[ "${{ github.event_name }}" = "pull_request" ]] || [[ "${{ github.ref_name }}" = "develop" ]]; then + if [[ "${{ github.event_name }}" = "pull_request" ]]; then + echo "Deploying tools on preview" preview_tools=$(printf "https://%s.%s.vega.rocks" "tools" "$branch_slug") PROJECTS+='"multisig-signer" ' fi + if [[ "${{ github.ref }}" =~ .*develop$ ]]; then + echo "Deploying tools on s3" + PROJECTS+='"multisig-signer" ' + fi fi echo PREVIEW_GOVERNANCE=$preview_governance >> $GITHUB_ENV echo PREVIEW_TRADING=$preview_trading >> $GITHUB_ENV diff --git a/apps/multisig-signer/.env.mainnet b/apps/multisig-signer/.env.mainnet index 2a65459fa..3c2646f18 100644 --- a/apps/multisig-signer/.env.mainnet +++ b/apps/multisig-signer/.env.mainnet @@ -3,6 +3,3 @@ NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks/maste NX_VEGA_URL=https://api.vega.community/graphql NX_VEGA_NETWORKS='{"TESTNET":"https://multisig-signer.fairground.wtf","MAINNET":"https://multisig-signer.vega.xyz"}' NX_VEGA_ENV=MAINNET - - -