Skip to content
Snippets Groups Projects
Commit 2326c8c4 authored by Arthur Jacquin's avatar Arthur Jacquin
Browse files

first try

parent 7f938715
Branches
No related tags found
No related merge requests found
Pipeline #46414 failed
......@@ -46,5 +46,5 @@ deploy:
script:
- 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>
"commanede 1 && commande 2 && commande 3 && etc..."
- sshpass -p viazero ssh -o StrictHostKeyChecking=no viazero@138.195.138.96
"cd /var/www/cicd && git checkout tp3 && git pull && systemctl daemon-reload && systemctl start calculator"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment