mirror of
https://wiilab.wiimart.org/wiimart/WiiMart-github-io
synced 2025-11-08 08:20:17 +01:00
Update file .gitlab-ci.yml
This commit is contained in:
parent
0434d90715
commit
ebe316bbef
@ -6,11 +6,7 @@ deploy:
|
|||||||
tags:
|
tags:
|
||||||
- shell
|
- shell
|
||||||
before_script:
|
before_script:
|
||||||
- mkdir -p ~/.ssh
|
|
||||||
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/id_ed25519
|
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/id_ed25519
|
||||||
- chmod 600 ~/.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:
|
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"
|
||||||
Loading…
x
Reference in New Issue
Block a user