Merge pull request #779 from modos189/feature/search_api #197
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
name: GitHub pages JSDoc | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
paths-ignore: | |
- '!.github/**' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build | |
uses: zhennann/jsdoc-action@v1 | |
with: | |
output_dir: ./out | |
config_file: jsdoc-conf.json | |
template: tui-jsdoc-template | |
front_page: README.md | |
- name: Deploy | |
if: github.event_name != 'pull_request' | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
publish_dir: ./out |