This commit is contained in:
2025-08-16 18:09:08 +08:00
parent 0c2c709647
commit 1aedec1270

View File

@@ -1,19 +1,14 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: on:
push: push:
branches: branches:
- master - master
jobs: jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
runs-on: ubuntu runs-on: ubuntu
steps: steps:
- name: 拉取代码仓库
- name: Checkout code uses: http://git.missmoc.top/mocheng/checkout@v4
uses: http://git.missmoc.top/mocheng/checkout@v4 # 使用 Gitea 镜像
with:
fetch-depth: 1 # 只拉取最新一次提交
- name: Set up Node.js ${{ matrix.node-version }} - name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3 uses: actions/setup-node@v3
@@ -33,7 +28,7 @@ jobs:
password: {{ SERVER_PWD}} password: {{ SERVER_PWD}}
port: 11001 port: 11001
source: "./apps/web-antd/dist" source: "./apps/web-antd/dist"
target: "/project/wl/web/dist" target: "/www/wwwroot/183.230.235.66_11010/property"