chore(workflows/tests): update used node version for publish #116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |