Skip to content

Merge pull request #241 from meggsimum/dependabot/npm_and_yarn/releas… #191

Merge pull request #241 from meggsimum/dependabot/npm_and_yarn/releas…

Merge pull request #241 from meggsimum/dependabot/npm_and_yarn/releas… #191

name: publish-docs
on:
push:
branches:
- master
jobs:
build-and-publish-docs:
runs-on: ubuntu-latest
steps:
# use Node.js 16 instead of deprecated v12 in Ubuntu image
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: Checkout
uses: actions/checkout@v4
- name: Install and Build
run: |
npm install
npm run docs
# prevents Jekyll defaults by GitHub
touch out/.nojekyll
- name: Publish docs
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: out # The folder the action should deploy.