mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
update cd scripts for commit merge
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ staging:
|
||||
- chmod 400 ~/.ssh/id_rsa
|
||||
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||
script:
|
||||
- ssh izyim@40.76.84.105 "cd exchange && git pull origin master && sudo docker-compose -f docker-prod.yml up -d"
|
||||
- ssh izyim@40.76.84.105 "cd exchange && git pull origin master && git add . && git commit -am "merge staging" && sudo docker-compose -f docker-prod.yml build && sudo docker-compose -f docker-prod.yml up -d"
|
||||
environment:
|
||||
name: staging
|
||||
url: https://exchange-staging.izyim.com/
|
||||
|
||||
Reference in New Issue
Block a user