ajout du git reset au webhook.sh

This commit is contained in:
Valentin 2024-05-28 00:26:15 +02:00
parent 344111d7ef
commit 3e208123df
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ cd /var/www/repositories/$repo_name
echo "Trigger : ${hook_origin}"
if [[ "$hook_origin" == "git" ]]; then
git reset --hard
git pull origin prod
fi