Skip to content

Commit 611cd49

Browse files
committed
Add skill tree github action
1 parent c38c915 commit 611cd49

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: github pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-18.04
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Setup mdBook
15+
uses: peaceiris/actions-mdbook@v1
16+
with:
17+
mdbook-version: '0.4.1'
18+
# mdbook-version: 'latest'
19+
20+
- run: mdbook build
21+
22+
- name: Deploy
23+
uses: peaceiris/actions-gh-pages@v3
24+
with:
25+
github_token: ${{ secrets.GITHUB_TOKEN }}
26+
publish_dir: ./book

0 commit comments

Comments
 (0)