revert Update .gitea/workflows/deploy.yml
This commit is contained in:
2024-12-11 14:43:07 +00:00
parent 30e2949a46
commit ecc698c6ec

View File

@@ -30,12 +30,14 @@ jobs:
# Étape 2: Test SSH Connection
- name: Test SSH connection
run: |
# Testez la connexion SSH avec l'hôte distant
ssh -v kerboul@192.168.1.87 "echo 'Connection successful!'"
# Étape 3: Ajouter une action qui utilise la connexion SSH
- name: Update Frontend (Restarting Only Frontend)
- name: Run remote command
run: |
ssh kerboul@192.168.1.87 "cd /home/kerboul/scripts/timelapse && ./update_timelapse.sh -o"
# Exemple de commande distante exécutée sur le serveur distant via SSH
ssh kerboul@192.168.1.87 "ls -la /home/kerboul"
# Étape 4: Nettoyage (optionnel)
- name: Clean up SSH keys