Added CI Deployment
This commit is contained in:
parent
8d017145b9
commit
5245e8a92f
@ -48,7 +48,7 @@ docker_deploy:
|
||||
# stop container, remove image.
|
||||
- ssh administrator@docker.comprofix.xyz "cd /opt/comprofix; docker-compose down" || true
|
||||
# start new container
|
||||
- ssh administrator@docker.comprofix.xyz "scp docker-compose.yml adinistrator@docker.comprofix.xyz:/opt/comprofix"
|
||||
- scp docker-compose.yml adinistrator@docker.comprofix.xyz:/opt/comprofix
|
||||
- ssh administrator@docker.comprofix.xyz "cd /opt/comprofix; docker-compose pull; docker-compose up -d"
|
||||
only:
|
||||
- master
|
||||
|
Loading…
Reference in New Issue
Block a user