Update .gitlab-ci.yml file
This commit is contained in:
parent
5245e8a92f
commit
7159e663c5
@ -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
|
||||
- scp docker-compose.yml adinistrator@docker.comprofix.xyz:/opt/comprofix
|
||||
- scp docker-compose.yml administrator@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