🐛 fix(workflows): Ajoute un reset --hard avant git pull pour éviter les conflits.
This commit is contained in:
2
.github/workflows/install-deps.yml
vendored
2
.github/workflows/install-deps.yml
vendored
@@ -31,4 +31,4 @@ jobs:
|
|||||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
port: 22
|
port: 22
|
||||||
script: |
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user