Skip to content

Commit

Permalink
ops: better referencing of vars
Browse files Browse the repository at this point in the history
  • Loading branch information
arthyn committed Feb 9, 2024
1 parent 4694cf5 commit da4778a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy-canary-groups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand All @@ -60,7 +60,7 @@ jobs:
git config --global user.email [email protected]
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
Expand All @@ -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:
Expand All @@ -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 }}
Expand Down

0 comments on commit da4778a

Please sign in to comment.