mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-09-18 05:29:37 +08:00
Update deploy.yml
This commit is contained in:
parent
ef95f6d09d
commit
6632dab37a
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ steps:
|
||||||
- echo "$SSH_KEY" | tr -d '\r' > /root/.ssh/id_rsa
|
- echo "$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
|
||||||
- wget -O $DOCKER_COMPOSE_URL
|
- wget -O docker-compose.yml $DOCKER_COMPOSE_URL
|
||||||
- ssh "$SSH_HOST" "
|
- ssh "$SSH_HOST" "
|
||||||
cd "$PROJECT_DIRECTORY";
|
cd "$PROJECT_DIRECTORY";
|
||||||
docker-compose down;
|
docker-compose down;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue