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

This commit is contained in:
cvancau
2026-08-09 15:52:10 +02:00
parent 0e37e535d4
commit 0a7f1a783b
+3 -4
View File
@@ -22,10 +22,9 @@ jobs:
echo '=> [1/4] Configuration du Remote en SSH natif...' &&
git remote set-url origin git@git.mesdonneesadministratives.fr:cvancau/alapatch.git || git remote add origin git@git.mesdonneesadministratives.fr:cvancau/alapatch.git &&
echo '=> [2/4] Synchronisation Git native...' &&
# On laisse Git chercher la clé tout seul (comme pour votre autre dépôt)
# On lui demande juste d'ignorer la vérification de l'hôte
git config core.sshCommand 'ssh -o StrictHostKeyChecking=no -o BatchMode=yes' &&
echo '=> [2/4] Synchronisation Git avec la clé dédiée alapatch...' &&
# On force l'usage de notre nouvelle clé dédiée id_alapatch
git config core.sshCommand 'ssh -o StrictHostKeyChecking=no -o BatchMode=yes -i /root/.ssh/id_alapatch' &&
git fetch --all &&
git reset --hard origin/main &&
git clean -fd &&