Skip to content
Snippets Groups Projects
Commit 382dc40b authored by Florentin Labelle's avatar Florentin Labelle
Browse files

Correction

parent 7c767624
Branches tp3-correction
No related tags found
No related merge requests found
......@@ -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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment