diff --git a/.gitea/workflows/convert-to-yml.yml b/.gitea/workflows/convert-to-yml.yml index cf8504a..670837f 100644 --- a/.gitea/workflows/convert-to-yml.yml +++ b/.gitea/workflows/convert-to-yml.yml @@ -24,6 +24,7 @@ jobs: - name: clone run: | git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned + git -C ../cloned push origin HEAD mv ../cloned/.git .. rm -rf ../cloned cp -r . ../cloned @@ -40,7 +41,7 @@ jobs: git -C ../cloned checkout -b ${{ env.PRODUCTION_BRANCH }} git -C ../cloned add -A git -C ../cloned commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml" - git -C ../cloned push -f origin HEAD:${{ env.PRODUCTION_BRANCH }} + git -C ../cloned push -f origin HEAD:${{ env.PRODUCTION_BRANCH }} - name: make pull request #git fetch # git merge origin/master --allow-unrelated-histories --strategy-option=ours