🐛 fix(workflows): Ajoute un reset --hard avant git pull pour éviter les conflits.

This commit is contained in:
Serreau Jovann
2025-12-02 23:27:30 +01:00
parent 59bbfc717c
commit fc5b62dd70

View File

@@ -31,4 +31,4 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script: |
cd /var/www/e-cosplay && git pull && nohup sh ./update.sh
cd /var/www/e-cosplay && git reset --hard && git pull && nohup sh ./update.sh