We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2b1f1b commit befa40bCopy full SHA for befa40b
.github/workflows/deploy.yml
@@ -84,6 +84,9 @@ jobs:
84
sudo sed -i "s|Environment=\"JWT_SECRET=.*\"|Environment=\"JWT_SECRET=$JWT_SECRET\"|g" /etc/systemd/system/tinyflow.service
85
sudo sed -i "s|Environment=\"REDIS_PASSWORD=.*\"|Environment=\"REDIS_PASSWORD=$REDIS_PASSWORD\"|g" /etc/systemd/system/tinyflow.service
86
87
+ # 清理前端构建产物和依赖(避免 git checkout 冲突)
88
+ rm -rf web/dist web/node_modules
89
+
90
# 重新构建前端
91
cd web
92
npm ci --prefer-offline --no-audit
0 commit comments