From 6a9ff4b91497ab2f2c21396163f784b50c2ba122 Mon Sep 17 00:00:00 2001 From: spypsy Date: Fri, 1 Dec 2023 14:51:23 +0000 Subject: [PATCH] fix(ci): export FORK_API_KEY from setup_env --- build-system/scripts/setup_env | 1 + l1-contracts/scripts/ci_deploy_contracts.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build-system/scripts/setup_env b/build-system/scripts/setup_env index 5127936d346..200ba7cb9f8 100755 --- a/build-system/scripts/setup_env +++ b/build-system/scripts/setup_env @@ -82,6 +82,7 @@ echo export DEPLOY_TAG=$DEPLOY_TAG >> $BASH_ENV echo export BRANCH=$BRANCH >> $BASH_ENV echo export PULL_REQUEST=$PULL_REQUEST >> $BASH_ENV echo export DRY_DEPLOY=${DRY_DEPLOY:-0} >> $BASH_ENV +echo export FORK_API_KEY=${FORK_API_KEY:-} >> $BASH_ENV # We want very strict failures on any failing command, undefined variable, or commands that pipe to other commands. echo set -euo pipefail >> $BASH_ENV # Enable logging if [ci debug] is in commit message. diff --git a/l1-contracts/scripts/ci_deploy_contracts.sh b/l1-contracts/scripts/ci_deploy_contracts.sh index 8070d6630df..a86d347e9b8 100755 --- a/l1-contracts/scripts/ci_deploy_contracts.sh +++ b/l1-contracts/scripts/ci_deploy_contracts.sh @@ -2,7 +2,7 @@ FORCE_DEPLOY=${2:-"false"} -export ETHEREUM_HOST=$DEPLOY_TAG-mainnet-fork.aztec.network:8545/$API_KEY +export ETHEREUM_HOST=$DEPLOY_TAG-mainnet-fork.aztec.network:8545/$FORK_API_KEY # If we have previously successful commit, we can early out if nothing relevant has changed since. if [[ $FORCE_DEPLOY == 'false' ]] && check_rebuild cache-"$CONTENT_HASH" $REPOSITORY; then