mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-01-18 18:33:01 +08:00
Test commit
This commit is contained in:
parent
2cf2d59b89
commit
26dd664032
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue