admin-vben5/.gitea/workflows/dev.yml
bichangxiong cfdb404ddc
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35m30s
更新 .gitea/workflows/dev.yml
2025-07-05 17:03:15 +08:00

36 lines
870 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: http://47.109.37.87:3000/bichangxiong/checkout@v4 # 使用 Gitea 镜像
with:
fetch-depth: 1 # 只拉取最新一次提交
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: node
run: pnpm i
- name: Build
run: pnpm build:antd
- 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/wl/web/dist"