Actualiser .gitea/workflows/deploy.yml
Deploy to home / deploy (push) Successful in 2m52s

This commit is contained in:
cvancau
2026-08-09 14:25:27 +02:00
parent f2529cc42e
commit f05d4b4cd2
+3 -1
View File
@@ -16,7 +16,8 @@ jobs:
ssh -o StrictHostKeyChecking=no -i /root/.ssh/id_home root@home.mesdonneesadministratives.fr "
cd /opt/alapatch &&
git fetch --all &&
git reset --hard origin/master &&
# Correction ici : on force l'alignement sur origin/main
git reset --hard origin/main &&
docker build --no-cache -t alapatch-prod . &&
if [ \$(docker ps -aq -f name=microkorg-editor) ]; then
docker stop microkorg-editor &&
@@ -24,3 +25,4 @@ jobs:
fi &&
docker run -d --restart unless-stopped -p 4321:4321 --name microkorg-editor alapatch-prod
"