fix(ci): missing space on resolving projects

This commit is contained in:
Mikołaj Młodzikowski 2023-06-06 16:46:58 +02:00
parent 3928dd5c0e
commit cefdbe6a3c
2 changed files with 3 additions and 5 deletions

View File

@ -135,18 +135,18 @@ jobs:
preview_trading=$(printf "https://%s.%s.vega.rocks" "trading" "$branch_slug")
preview_explorer=$(printf "https://%s.%s.vega.rocks" "explorer" "$branch_slug")
fi
projects=$(echo $projects_e2e | sed 's|-e2e||g')
projects="$(echo $projects_e2e | sed 's|-e2e||g')"
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" ]]; then
echo "Deploying tools on preview"
preview_tools=$(printf "https://%s.%s.vega.rocks" "tools" "$branch_slug")
projects+='"multisig-signer" '
projects+=' "multisig-signer" '
fi
if [[ "${{ github.ref }}" =~ .*develop$ ]]; then
echo "Deploying tools on s3"
projects+='"multisig-signer" '
projects+=' "multisig-signer" '
fi
fi
projects_e2e=${projects_e2e%?}

View File

@ -3,5 +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