From 20088da9bbd643b582570a188386516d18c4fb80 Mon Sep 17 00:00:00 2001 From: gilesb Date: Mon, 23 Oct 2023 15:06:04 +0100 Subject: [PATCH] ... --- .gitea/workflows/develop -> build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/develop -> build.yml b/.gitea/workflows/develop -> build.yml index 44cda86..a408126 100644 --- a/.gitea/workflows/develop -> build.yml +++ b/.gitea/workflows/develop -> build.yml @@ -41,7 +41,7 @@ jobs: git add -A git commit -a -m "${{ github.ref_name }} -> ${{ env.BUILD_BRANCH }} " if [[ $(git branch -r | grep -Fx " origin/${{ env.BUILD_BRANCH }}" | wc -c) -eq 0 ]]; then - git push origin ${{ env.BUILD_BRANCH }}; + git push origin HEAD:${{ env.BUILD_BRANCH }}; else if [[ $(git diff origin/${{ env.BUILD_BRANCH }} | wc -c) -ne 0 ]]; then git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned