diff --git a/.gitea/workflows/convert-to-yml.yml b/.gitea/workflows/convert-to-yml.yml index 9b99b13..7b2c169 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 status mv ../cloned/.git .. rm -rf ../cloned cp -r . ../cloned @@ -31,7 +32,7 @@ jobs: mv ../.git ../cloned rm -r * mv ../cloned/* . - git status + git -C ../cloned status - name: GIT commit and push all changed files env: CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts @@ -39,9 +40,9 @@ jobs: run: | git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" - git config pull.rebase false git checkout -b ${{ env.PRODUCTION_BRANCH }} git add -A + git status git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml" git push -f origin HEAD:${{ env.PRODUCTION_BRANCH }} - name: make pull request