Skip to content

Merge pull request #242 from meggsimum/dependabot/npm_and_yarn/babel/… #192

Merge pull request #242 from meggsimum/dependabot/npm_and_yarn/babel/…

Merge pull request #242 from meggsimum/dependabot/npm_and_yarn/babel/… #192

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.