diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 81a736c5edf625f0f5394bacb39ca9cf89141037..1c0a2de580e041a4eda88c2bd7a5cd6074bb0a8b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,4 +46,4 @@ deploy: - apt-get update - apt-get install -y openssh-client sshpass - sshpass -p <mot-de-passe> ssh -o StrictHostKeyChecking=no <nom-d'utilisateur>@<ip-de-ma-vm> - "commandes à lancer sur la VM séparées par des &&" + "cd /var/www/cicd && sudo git pull && sudo systemctl restart calculator"