add feature to specify which hylagi to use #166
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adapted from https://gist.github.com/domenic/ec8b0fc8ab45f39403dd | |
name: Typedoc | |
on: | |
pull_request: | |
branches: | |
- develop | |
push: | |
branches: | |
- develop | |
jobs: | |
build: | |
name: build and deploy document | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '17' | |
- run: npm install | |
- name: Build | |
run: npm run doc | |
- name: Deploy | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }} | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./doc |