更新 .gitea/workflows/dev.yml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m17s

This commit is contained in:
bichangxiong 2025-07-05 14:24:40 +08:00
parent f5d7d70cc2
commit c38065b732

View File

@ -8,16 +8,22 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: http://127.0.0.1:3000/bichangxiong/checkout@v4 # 使用 Gitea 镜像 uses: http://47.109.37.87:3000/bichangxiong/checkout@v4 # 使用 Gitea 镜像
with: with:
fetch-depth: 1 # 只拉取最新一次提交 fetch-depth: 1 # 只拉取最新一次提交
- name: node - name: node
run: pnpm i run: pnpm i
- name: Build - name: Build
run: pnpm build:antd run: pnpm build:antd
- name: cp - name: copy file via ssh password
# run: robocopy ./apps/web-antd/dist C:\devtool\nginx-1.28.0\html\propety /E uses: appleboy/scp-action@v0.1.7
run: Copy-Item -Path "./apps/web-antd/dist" -Destination "C:\devtool\nginx-1.28.0\html\property" -Recurse -Force -ErrorAction SilentlyContinue with:
host: 192.168.1.3
username: root
password: by@2025!
port: 22
source: "./apps/web-antd/dist"
target: "/project/runner/plus/antd/"