diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index 7471c37..73eda28 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -18,7 +18,7 @@ pipeline: - chmod 600 ~/.ssh/id_ed25519 - ssh-add ~/.ssh/id_ed25519 - '[[ -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" volumes: - /var/run/docker.sock:/var/run/docker.sock