diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 5e41903..a728665 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -30,14 +30,12 @@ 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: Run remote command + - name: Update Frontend (Restarting Only Frontend) run: | - # Exemple de commande distante exécutée sur le serveur distant via SSH - ssh kerboul@192.168.1.87 "ls -la /home/kerboul" + ssh kerboul@192.168.1.87 "cd /home/kerboul/scripts/timelapse && ./update_timelapse.sh -o" # Étape 4: Nettoyage (optionnel) - name: Clean up SSH keys