Skip to content

Commit 3fe486f

Browse files
committed
feature:add 1.main
1 parent 42c8fe0 commit 3fe486f

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

.github/workflows/egg.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
on: push
22

33
jobs:
4-
job1:
4+
npm-build:
55
runs-on: ubuntu-latest
66
steps:
7-
- run: pwd
8-
- run: ls
9-
job2:
10-
runs-on: windows-latest
11-
steps:
12-
- run: node --version
7+
- name: 读取仓库内容
8+
uses: actions/checkout@v4
9+
10+
- name: 安装依赖和项目打包
11+
run: |
12+
npm install
13+
npm run build
14+
15+
- name: 部署
16+
uses: jamesives/github-pages-deploy-action@v4
17+
with:
18+
branch: gh-pags
19+
folder: build

1.main

Whitespace-only changes.

0 commit comments

Comments
 (0)