From e6bde8dbe00b4ddd78a7d0f31ce6b43b770a0c84 Mon Sep 17 00:00:00 2001 From: Jared L <48422312+lhjt@users.noreply.github.com> Date: Mon, 5 Feb 2024 12:33:50 +1100 Subject: [PATCH] chore(cd): use new cluster for cd --- .github/workflows/docker.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index af51d8350..0dd3eb057 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -54,6 +54,7 @@ jobs: with: repository: csesoc/deployment token: ${{ secrets.GH_TOKEN }} + ref: migration - name: Install yq uses: mikefarah/yq@v4.35.1 - name: Update deployment @@ -63,9 +64,9 @@ jobs: git config user.name "CSESoc CD" git config user.email "technical@csesoc.org.au" git checkout -b update/structs/${{ github.sha }} - yq -i '.items[0].spec.template.spec.containers[0].image = "ghcr.io/csesoc/structs-client:${{ github.sha }}"' apps/projects/structs/deploy-frontend.yml + yq -i '.items[0].spec.template.spec.containers[0].image = "ghcr.io/csesoc/structs-client:${{ github.sha }}"' projects/structs/deploy-frontend.yml git add . git commit -m "feat(structs): update image" git push -u origin update/structs/${{ github.sha }} - gh pr create --title "feat(structs): update image" --body "Updates the image for the structs deployment to commit csesoc/Structs.sh@${{ github.sha }}." > URL + gh pr create -B migration --title "feat(structs): update image" --body "Updates the image for the structs deployment to commit csesoc/structs.sh@${{ github.sha }}." > URL gh pr merge $(cat URL) --squash -d