Actualiser .gitea/workflows/deploy.yml
Deploy to home / deploy (push) Failing after 0s

This commit is contained in:
cvancau
2026-08-09 15:19:38 +02:00
parent 9fc78f3ce7
commit 219e8df12e
+2 -2
View File
@@ -16,11 +16,11 @@ jobs:
run: |
echo "Démarrage de la connexion et réplication forcée..."
ssh -o StrictHostKeyChecking=no -o BatchMode=yes -i /root/.ssh/id_home root@home.mesdonneesadministratives.fr "
ssh -o StrictHostKeyChecking=no -o BatchMode=yes -i /root/.ssh/id_home root@git.mesdonneesadministratives.fr "
cd /opt/alapatch &&
echo '=> [1/4] Redéfinition du remote vers Gitea...' &&
git remote set-url origin https://mesdonneesadministratives.fr || git remote add origin https://mesdonneesadministratives.fr &&
git remote set-url origin https://mesdonneesadministratives.fr || git remote add origin https://git.mesdonneesadministratives.fr &&
echo '=> [2/4] Nettoyage et Synchronisation...' &&
git fetch --all &&