Add pull command before pushing changes in workflow

This commit is contained in:
github-actions[bot]
2025-05-19 05:27:27 +02:00
parent eac871bc46
commit 0a88f098f0

View File

@ -50,4 +50,5 @@ jobs:
git config user.email "tlovinator@gmail.com"
git add .
git commit -m "Updated files: ${{ steps.get_modified_files.outputs.files }}" || echo "No changes to commit"
git pull --rebase https://${{ secrets.REPO_WRITE_PAT }}@git.lovinator.space/TheLovinator/wutheringwaves.git master
git push https://${{ secrets.REPO_WRITE_PAT }}@git.lovinator.space/TheLovinator/wutheringwaves.git HEAD:master