ci: add git reset --hard to ensure clean working tree on deploy
Deploy / deploy (push) Failing after 1s
Deploy / deploy (push) Failing after 1s
This commit is contained in:
@@ -13,5 +13,6 @@ jobs:
|
|||||||
git config --global --add safe.directory /home/proyecto/taller_automotriz
|
git config --global --add safe.directory /home/proyecto/taller_automotriz
|
||||||
cd /home/proyecto/taller_automotriz
|
cd /home/proyecto/taller_automotriz
|
||||||
git pull
|
git pull
|
||||||
|
git reset --hard HEAD
|
||||||
docker compose down
|
docker compose down
|
||||||
docker compose up -d --build
|
docker compose up -d --build
|
||||||
|
|||||||
Reference in New Issue
Block a user