This commit is contained in:
parent
e13879d6b1
commit
017004d925
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ pipeline:
|
||||||
- chmod 600 ~/.ssh/id_ed25519
|
- chmod 600 ~/.ssh/id_ed25519
|
||||||
- ssh-add ~/.ssh/id_ed25519
|
- ssh-add ~/.ssh/id_ed25519
|
||||||
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||||
- cat .env | ssh pianello@pianello.webdeploy.it -p 11122 "cat - > .env" # copy env
|
- cat .env | ssh pianello@pianello.webdeploy.it "cat - > .env" # copy env
|
||||||
- cat docker-compose.prod.yml | ssh pianello@pianello.webdeploy.it "cat - > docker-compose.yml && docker compose pull && docker compose stop && docker compose up -d --remove-orphans"
|
- cat docker-compose.prod.yml | ssh pianello@pianello.webdeploy.it "cat - > docker-compose.yml && docker compose pull && docker compose stop && docker compose up -d --remove-orphans"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
Loading…
Reference in a new issue