Compare commits

1 Commits

Author SHA1 Message Date
liuyuanchuang
a59fbd0edd refact: update script 2026-01-27 23:46:52 +08:00
2 changed files with 12 additions and 0 deletions

12
deploy_dev.sh Executable file
View 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