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