Skip to content

Commit 120e0ba

Browse files
committed
chore: update .github/workflows/ci.yml
1 parent 04c7891 commit 120e0ba

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Website
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build:
8+
runs-on: ubuntu-18.04
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v2
12+
with:
13+
node-version: 14
14+
15+
- run: mkdir -p build
16+
- run: npm i markdown-to-html-cli -g
17+
- run: markdown-to-html --output build/index.html
18+
19+
- name: Deploy
20+
uses: peaceiris/actions-gh-pages@v3
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
publish_dir: ./build

0 commit comments

Comments
 (0)