refact: update script
This commit is contained in:
12
deploy_dev.sh
Executable file
12
deploy_dev.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
git push origin test
|
||||
|
||||
ssh ubuntu << 'ENDSSH'
|
||||
cd /home/yoge/Dev/doc_ai_backed
|
||||
git checkout test
|
||||
git pull origin test
|
||||
docker compose down
|
||||
docker image rm doc_ai_backed-doc_ai:latest
|
||||
docker compose -f docker-compose.yml up -d
|
||||
ENDSSH
|
||||
Reference in New Issue
Block a user