Skip to content

Merge pull request #147 from NathanPB/dependabot/npm_and_yarn/typedoc… #164

Merge pull request #147 from NathanPB/dependabot/npm_and_yarn/typedoc…

Merge pull request #147 from NathanPB/dependabot/npm_and_yarn/typedoc… #164

#
# Builds the docs and deploys to GitHub pages
#
# https://github.com/actions/setup-node
# Using https://github.com/marketplace/actions/deploy-to-github-pages
name: Deploy to Github pages
on:
push:
branches:
- main
jobs:
deploy_pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '14'
- run: yarn install
- run: yarn docs
- run: touch docs/.nojekyll
- name: Deploy docs 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs # The folder the action should deploy.