From b956f8f70fece6b83e81e23e0e44fe29c40a85b2 Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Fri, 3 May 2024 14:35:08 +0200 Subject: [PATCH] build: fix deploy --- .github/workflows/deploy.yml | 2 +- .github/workflows/release.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ef80ae710df..2c7697a45ed 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -188,7 +188,7 @@ jobs: - name: Deploy run: | git remote add deploy $REPO_URL - git push deploy ${{ github.ref_name }}:master --force + git push deploy HEAD:master --force env: # This avoids a failure when the client does not know the SSH Host already GIT_SSH_COMMAND: "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a5bc7b8ad30..fc4ebdcfb51 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -164,4 +164,5 @@ jobs: with: workflow: Release update repo: monicahq/docker + ref: refs/heads/main token: ${{ secrets.DOCKER_GITHUB_TOKEN }}