From 382dc40b08e8df50996e37a0ab80e8802f1de7bc Mon Sep 17 00:00:00 2001
From: Florentin Labelle <florentin.labelle@student-cs.fr>
Date: Thu, 13 Oct 2022 13:10:38 +0200
Subject: [PATCH] Correction

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 81a736c..0f0312c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,6 +35,7 @@ pytest:
     - download_dependencies
   script:
     - source .venv/bin/activate
+    - pip install pytest
     - pytest calculator
 
 deploy:
@@ -46,4 +47,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"
-- 
GitLab