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

fix: add sudo

parent 02e604d9
Branches
No related tags found
No related merge requests found
Pipeline #46423 passed
......@@ -48,4 +48,4 @@ deploy:
- apt-get update
- apt-get install -y openssh-client sshpass
- sshpass -p viazero ssh -o StrictHostKeyChecking=no viazero@138.195.138.96
"cd /var/www/cicd && git config --global --add safe.directory /var/www/cicd && git checkout tp3 && git pull && systemctl daemon-reload && systemctl start calculator"
"cd /var/www/cicd && sudo git checkout tp3 && sudo git pull && sudo systemctl daemon-reload && sudo systemctl start calculator"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment