diff --git a/.gitea/workflows/dev.yml b/.gitea/workflows/dev.yml index 2bcbbde2..6424ac0a 100644 --- a/.gitea/workflows/dev.yml +++ b/.gitea/workflows/dev.yml @@ -8,16 +8,22 @@ jobs: steps: - 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: fetch-depth: 1 # 只拉取最新一次提交 - name: node run: pnpm i - name: Build run: pnpm build:antd - - name: cp -# run: robocopy ./apps/web-antd/dist C:\devtool\nginx-1.28.0\html\propety /E - run: Copy-Item -Path "./apps/web-antd/dist" -Destination "C:\devtool\nginx-1.28.0\html\property" -Recurse -Force -ErrorAction SilentlyContinue - + - name: copy file via ssh password + uses: appleboy/scp-action@v0.1.7 + with: + host: 192.168.1.3 + username: root + password: by@2025! + port: 22 + source: "./apps/web-antd/dist" + target: "/project/runner/plus/antd/" +