Update .gitlab-ci.yml file

This commit is contained in:
Comprofix 2023-12-31 21:23:42 +10:00
parent 5245e8a92f
commit 7159e663c5

View File

@ -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