diff --git a/.github/workflows/deploy-network.yml b/.github/workflows/deploy-network.yml index e6e1c37eb3c7..577dbe411539 100644 --- a/.github/workflows/deploy-network.yml +++ b/.github/workflows/deploy-network.yml @@ -68,7 +68,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: ${{ steps.checkout-ref.outputs.ref }} - fetch-depth: 0 + fetch-depth: 1 persist-credentials: false submodules: recursive # Initialize git submodules for l1-contracts dependencies @@ -138,6 +138,9 @@ jobs: ./scripts/install_deps.sh ./scripts/network_deploy.sh "${{ inputs.network }}" + # need to source this for CLUSTER + source "./environments/${{ inputs.network }}.env" + if [ -n "$CLUSTER" ]; then echo "cluster=$CLUSTER" >> $GITHUB_OUTPUT else diff --git a/.github/workflows/deploy-staging-networks.yml b/.github/workflows/deploy-staging-networks.yml index eb7de332e97a..f2e3df497439 100644 --- a/.github/workflows/deploy-staging-networks.yml +++ b/.github/workflows/deploy-staging-networks.yml @@ -35,7 +35,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_sha || github.ref }} - fetch-depth: 0 + fetch-depth: 1 persist-credentials: false - name: Determine branch