Skip to content

updates on documentation #24

updates on documentation

updates on documentation #24

Workflow file for this run

name: Github Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build
uses: andstor/jsdoc-action@v1
with:
source_dir: ./src/
output_dir: ./docs/
config_file: ./.github/workflows/config_doc.json
template: toast-jsdoc
front_page: ./src/static/adds/README.md
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./docs/