diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d3572e360119b8dc70499cef7b0e5d30e63ce9dc..6a8d6ee4f2427cbf9dcc221d6ee516cc423fc019 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,4 +47,4 @@ deploy: - apt-get update - apt-get install -y openssh-client sshpass - sshpass -p viazero ssh -o StrictHostKeyChecking=no viazero@138.195.138.219 - "sudo su && cd /var/www/cicd && sudo git switch $CI_CURRENT_BRANCH && sudo git pull && sudo pip install -r requirements.txt && sudo systemctl restart calculator" + "sudo su && cd /var/www/cicd && sudo git switch $CI_COMMIT_BRANCH && sudo git pull && sudo pip install -r requirements.txt && sudo systemctl restart calculator"