diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0cd3aa1..2a90e47 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,11 +6,7 @@ deploy: tags: - shell before_script: - - mkdir -p ~/.ssh - echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/id_ed25519 - chmod 600 ~/.ssh/id_ed25519 - - echo "Host deploy" >> ~/.ssh/config - - echo " HostName 192.168.1.14" >> ~/.ssh/config - - echo " User gitdeploy" >> ~/.ssh/config script: - ssh deploy "cd /var/www/wiimart.org && git pull && sudo systemctl reload httpd" \ No newline at end of file