fix ci
Some checks failed
Retrieve Events Datas / Retrieve-Events-Datas (push) Failing after 17s

This commit is contained in:
Melaine Gérard 2024-10-04 13:26:13 +02:00
parent 1248460946
commit e98fca4045

View File

@ -22,12 +22,12 @@ 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 <cameliastudio@localhost>"
- 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
- run: git checkout datas
- run: git merge main
- run: git push