diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d7e06c8..3cadce2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,5 +10,5 @@ deploy: - echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/id_ed25519 - chmod 600 ~/.ssh/id_ed25519 script: - - ssh deploy "cd /var/www/wiimart.org && git pull && sudo systemctl reload httpd" + - ssh $deploy "cd /var/www/wiimart.org && git pull && sudo systemctl reload httpd" - rm -rf ~/.ssh/id_ed25519 \ No newline at end of file