Update file .gitlab-ci.yml

This commit is contained in:
thom 2025-04-28 23:11:22 +00:00
parent 9cbef1c8fd
commit 8c25ca4ff1

View File

@ -10,7 +10,7 @@ deploy:
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519
- echo "Host deploy" >> ~/.ssh/config
- echo " HostName your-server-ip" >> ~/.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"