Update .gitlab-ci.yml
This commit is contained in:
@@ -20,7 +20,7 @@ before_script:
|
|||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- rsync -Ppr -e "ssh -p 22" --progress --exclude=".git" $CI_PROJECT_DIR/ $u1n3_user@$u1n3_ip:$u1n3_pwd
|
- rsync -Ppr -e "ssh -p 22" --progress --exclude=".git" --exclude=".htaccess" --exclude=".gitignore" $CI_PROJECT_DIR/ $u1n3_user@$u1n3_ip:$u1n3_pwd
|
||||||
# Non interactive ssh gracefully reloads server
|
# Non interactive ssh gracefully reloads server
|
||||||
#- ssh $hawk_bs_user@$hawk_bs_ip '. /etc/profile; pm2 reload all'
|
#- ssh $hawk_bs_user@$hawk_bs_ip '. /etc/profile; pm2 reload all'
|
||||||
only:
|
only:
|
||||||
|
|||||||
Reference in New Issue
Block a user