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 }}