From 73d52966cc8786d450f3b93063eb17b7f92b5abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melaine=20G=C3=A9rard?= Date: Fri, 4 Oct 2024 13:26:13 +0200 Subject: [PATCH] :sparkles: fix ci --- .gitea/workflows/retrieve-datas.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/retrieve-datas.yaml b/.gitea/workflows/retrieve-datas.yaml index a98c7ea..0b14981 100644 --- a/.gitea/workflows/retrieve-datas.yaml +++ b/.gitea/workflows/retrieve-datas.yaml @@ -22,12 +22,11 @@ jobs: env: DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }} DISCORD_GUILD_ID: ${{ secrets.DISCORD_GUILD_ID }} - - name: Commit and push changes - uses: stefanzweifel/git-auto-commit-action@v5 - with: - branch: datas - commit_message: "chore: Update Datas" - file_pattern: "./events.json" - commit_user_name: "Camélia Studio" - commit_user_email: "cameliastudio@localhost" - commit_author: "Camélia Studio " \ No newline at end of file + - run: git fetch --all + - run: git pull + - run: git add events.json + - run: git config --global user.email "cameliastudio@localhost" + - run: git config --global user.name "Camelia Studio" + - run: git commit -m "Update events datas" --allow-empty + - git checkout datas + - run: git push \ No newline at end of file