chore(deploy): document auto restart flow
This commit is contained in:
@@ -18,9 +18,9 @@ cp -f "$WORKTREE_PATH/icons/production/favicon.ico" "$WORKTREE_PATH/public/favic
|
||||
cp -f "$WORKTREE_PATH/icons/production/icons/Icon-192.png" "$WORKTREE_PATH/public/images/icons/Icon-192.png"
|
||||
cp -f "$WORKTREE_PATH/icons/production/icons/Icon-512.png" "$WORKTREE_PATH/public/images/icons/Icon-512.png"
|
||||
|
||||
# 准备生产环境变量($WORKTREE_PATH/env-example/.env.production.example → $WORKTREE_PATH/.env.local)
|
||||
echo "=== 准备生产环境变量(env-example/.env.production.example → .env.local) ==="
|
||||
cp -f "$WORKTREE_PATH/env-example/.env.production.example" "$WORKTREE_PATH/.env.local"
|
||||
# 准备生产环境变量($WORKTREE_PATH/env-example/.env.production.example → $WORKTREE_PATH/.env.production)
|
||||
echo "=== 准备生产环境变量(env-example/.env.production.example → .env.production) ==="
|
||||
cp -f "$WORKTREE_PATH/env-example/.env.production.example" "$WORKTREE_PATH/.env.production"
|
||||
|
||||
echo "=== 执行构建部署脚本 ==="
|
||||
./scripts/deploy/deploy_web.sh
|
||||
|
||||
Reference in New Issue
Block a user