diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4a5124cc534..ef80ae710df 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 main:master --force + git push deploy ${{ github.ref_name }}: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"