Files
tool-node/.gitea/workflows/deploy.yaml
zhaojunlong fb70356f5d
All checks were successful
Deploy Vue App / build-and-deploy (push) Successful in 8s
```
ci(deploy): 更新部署分支为南京公共资源交易中心

将 Gitea 工作流中的触发分支从 master 更新为南京公共资源交易中心,
以确保代码变更能够正确部署到指定环境。
```
2025-12-16 09:33:20 +08:00

24 lines
583 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: Deploy Vue App
# 触发条件:推送到 master 分支时执行
on:
push:
branches: ['南京公共资源交易中心']
env:
IP: 106.15.181.192
REMOTE_DIR: /www/wwwroot/tb.test.haizhiyustc.com/
jobs:
build-and-deploy:
# 运行在已注册的 runner 上(确保 runner 标签匹配,默认无标签可省略)
runs-on: [test]
steps:
# 步骤 4部署到服务器
- name: Deploy to server
run: |
cd D:\tools\tool-node
npm install
git pull
net stop tool-node
net start tool-node