All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6m55s
24 lines
693 B
YAML
24 lines
693 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://127.0.0.1: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
|
|
|
|
|
|
|