Skip to content

chore(workflows/tests): update used node version for publish #116

chore(workflows/tests): update used node version for publish

chore(workflows/tests): update used node version for publish #116

Workflow file for this run

name: Deploy Github Pages
on:
push:
branches:
- 'master'
- 'old/**'
- 'beta'
paths: # only run this deploy if an file in the following directories are changed
- 'docs/**'
- 'website/**'
- '.github/workflows/website.yml'
- 'scripts/getDeployInfo.js'
- 'scripts/ghPagesDeploy.js'
permissions:
contents: read
jobs:
website:
permissions:
contents: write # for JamesIves/github-pages-deploy-action to push changes in repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install & Build
run: node scripts/ghPagesDeploy.js