From da4778a833717a5d622ad0901aef565835887d6f Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Fri, 9 Feb 2024 14:13:42 -0600 Subject: [PATCH] ops: better referencing of vars --- .github/workflows/deploy-canary-groups.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-canary-groups.yml b/.github/workflows/deploy-canary-groups.yml index 075c429eba..02367dc4de 100644 --- a/.github/workflows/deploy-canary-groups.yml +++ b/.github/workflows/deploy-canary-groups.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v3 with: - ref: [${{ env.TAG }}] + ref: ${{ env.TAG }} - uses: actions/setup-node@v3 with: node-version-file: ./ui/.nvmrc @@ -38,7 +38,7 @@ jobs: steps: - uses: actions/checkout@v3 with: - ref: [${{ env.TAG }}] + ref: ${{ env.TAG }} - uses: actions/download-artifact@v3 with: name: 'ui-dist' @@ -60,7 +60,7 @@ jobs: git config --global user.email github-actions@github.com git add desk/desk.docket-0 git commit -n -m "update glob: ${{ steps.glob.outputs.hash }} [skip actions]" || echo "No changes to commit" - INPUT=[${{ env.TAG }}] + INPUT=$TAG BRANCH=${INPUT:-"staging"} git pull origin $BRANCH --rebase --autostash git push @@ -71,7 +71,7 @@ jobs: steps: - uses: actions/checkout@v3 with: - ref: [${{ env.TAG }}] + ref: ${{ env.TAG }} - id: 'auth' uses: 'google-github-actions/auth@v1' with: @@ -81,7 +81,7 @@ jobs: - id: deploy name: Deploy run: - ./.github/helpers/deploy.sh tloncorp/landscape-apps groups binnec-dozzod-marnus us-central1-a mainnet-tlon-other-2d [${{ env.TAG }}] + ./.github/helpers/deploy.sh tloncorp/landscape-apps groups binnec-dozzod-marnus us-central1-a mainnet-tlon-other-2d $TAG env: SSH_SEC_KEY: ${{ secrets.GCP_SSH_SEC_KEY }} SSH_PUB_KEY: ${{ secrets.GCP_SSH_PUB_KEY }}