Test commit

This commit is contained in:
Keannu Bernasol 2024-12-12 01:08:32 +08:00
parent 2cf2d59b89
commit 26dd664032

View file

@ -10,6 +10,7 @@ steps:
- echo "$WOODPECKER_SSH_KEY" | tr -d '\r' > /root/.ssh/id_rsa - echo "$WOODPECKER_SSH_KEY" | tr -d '\r' > /root/.ssh/id_rsa
- chmod 600 /root/.ssh/id_rsa - chmod 600 /root/.ssh/id_rsa
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config
- echo "heh $PROJECT_DIRECTORY"
- ssh "$SSH_HOST" ' - ssh "$SSH_HOST" '
cd "$PROJECT_DIRECTORY"; cd "$PROJECT_DIRECTORY";
docker-compose down; docker-compose down;