build: 优化部署脚本

This commit is contained in:
louis 2024-02-28 12:59:45 +08:00
parent 4646d91172
commit 5b562e1d3b
1 changed files with 6 additions and 0 deletions

6
deploy.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
# 拉取最新的代码
git pull
docker compose --env-file .env --env-file .env.production up -d --build