Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35m30s
36 lines
870 B
YAML
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"
|
|
|
|
|
|
|