Skip to content

Commit 3a01e5e

Browse files
committed
feat: add action yml
1 parent 630aa4c commit 3a01e5e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build and GH-Page Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
with:
16+
persist-credentials: false
17+
18+
- name: Install
19+
run: npm install
20+
21+
- name: Build
22+
run: npm run build
23+
24+
- name: Deploy to GH Page
25+
uses: JamesIves/github-pages-deploy-action@4.1.1
26+
with:
27+
branch: gh-pages
28+
folder: dist

0 commit comments

Comments
 (0)