mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 04:09:25 +08:00
Fix PROJECT_DIR not being read properly
This commit is contained in:
parent
b5a645ac5f
commit
ecfcc4b6f6
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ steps:
|
||||||
- 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
|
||||||
- ssh root@10.0.10.4 '
|
- ssh root@10.0.10.4 '
|
||||||
cd $PROJECT_DIR;
|
cd "$PROJECT_DIR";
|
||||||
docker-compose down;
|
docker-compose down;
|
||||||
docker image rm "$IMAGE_TAG" || true;
|
docker image rm "$IMAGE_TAG" || true;
|
||||||
docker pull "$IMAGE_TAG":latest;
|
docker pull "$IMAGE_TAG":latest;
|
||||||
|
|
Loading…
Reference in a new issue