ci: access to deployment repo

This commit is contained in:
2024-03-16 11:36:14 +01:00
parent 085a76285b
commit 950be5aebc
+1
View File
@@ -47,6 +47,7 @@ jobs:
ref: refs/heads/main ref: refs/heads/main
path: ./deployment-repo path: ./deployment-repo
clean: false clean: false
ssh-key: ${{ secrets.DEPLOYMENT_REPO_DEPLOY_KEY }}
- uses: mikefarah/yq@v4 - uses: mikefarah/yq@v4
with: with:
cmd: yq -i '.spec.template.spec.container[0].image = "registry.digitalocean.com/kemkas/kemkas-be:${{ env.GITHUB_SHA_SHORT }}"' ./deployment-repo/kemkas-beta/kemkas-be-deployment.yaml cmd: yq -i '.spec.template.spec.container[0].image = "registry.digitalocean.com/kemkas/kemkas-be:${{ env.GITHUB_SHA_SHORT }}"' ./deployment-repo/kemkas-beta/kemkas-be-deployment.yaml