From 0a88f098f0938c88aeef23239c3ad65dfc259537 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 19 May 2025 05:27:27 +0200 Subject: [PATCH] Add pull command before pushing changes in workflow --- .gitea/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 68f7554..75a5c5a 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -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