fix ci

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

View File

@ -22,12 +22,11 @@ jobs:
env: env:
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }} DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}
DISCORD_GUILD_ID: ${{ secrets.DISCORD_GUILD_ID }} DISCORD_GUILD_ID: ${{ secrets.DISCORD_GUILD_ID }}
- name: Commit and push changes - run: git fetch --all
uses: stefanzweifel/git-auto-commit-action@v5 - run: git pull
with: - run: git add events.json
branch: datas - run: git config --global user.email "cameliastudio@localhost"
commit_message: "chore: Update Datas" - run: git config --global user.name "Camelia Studio"
file_pattern: "./events.json" - run: git commit -m "Update events datas" --allow-empty
commit_user_name: "Camélia Studio" - git checkout datas
commit_user_email: "cameliastudio@localhost" - run: git push
commit_author: "Camélia Studio <cameliastudio@localhost>"