ci: add gh-pages

pull/2/head
洛竹 3 years ago
parent 7e7b6665d1
commit ccab5c2bba

@ -0,0 +1,16 @@
name: github pages
on:
push:
branches:
- main # default branch
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- run: npx typedoc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
Loading…
Cancel
Save