Skip to content

Commit 30ccd5f

Browse files
committed
chore: update .github/workflows/ci.yml
1 parent 80a6a44 commit 30ccd5f

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Website
2+
on:
3+
push:
4+
branches:
5+
- master
6+
7+
jobs:
8+
Build:
9+
runs-on: ubuntu-18.04
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v2
13+
with:
14+
node-version: 14
15+
16+
- run: npm install
17+
- run: node scripts/build.mjs
18+
19+
- name: Deploy
20+
uses: peaceiris/actions-gh-pages@v3
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
publish_dir: ./build
24+
user_name: 'github-actions[bot]'
25+
user_email: 'github-actions[bot]@users.noreply.github.com'

0 commit comments

Comments
 (0)