Skip to content

Commit 121f52d

Browse files
committed
doc: Add github workflow config.
1 parent 31a4bd9 commit 121f52d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build and Deploy Documents
2+
on:
3+
push:
4+
branches:
5+
- master
6+
7+
jobs:
8+
build-deploy:
9+
runs-on: ubuntu-18.04
10+
steps:
11+
- uses: actions/checkout@master
12+
13+
- name: Setup Node
14+
uses: actions/setup-node@v1
15+
with:
16+
node-version: 10
17+
18+
- run: npm install
19+
- run: npm run build
20+
21+
- name: Build and Deploy
22+
uses: peaceiris/actions-gh-pages@v2.5.0
23+
env:
24+
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
25+
PUBLISH_BRANCH: gh-pages
26+
PUBLISH_DIR: ./typedoc

0 commit comments

Comments
 (0)