From 950be5aebcbec703a8c4413b0249b3977e200b74 Mon Sep 17 00:00:00 2001 From: morbalint Date: Sat, 16 Mar 2024 11:36:14 +0100 Subject: [PATCH] ci: access to deployment repo --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d371c3e..6ec36f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,6 +47,7 @@ jobs: ref: refs/heads/main path: ./deployment-repo clean: false + ssh-key: ${{ secrets.DEPLOYMENT_REPO_DEPLOY_KEY }} - uses: mikefarah/yq@v4 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