Update website-publish.yml

This commit is contained in:
Daniel Lautzenheiser 2022-09-30 11:57:40 -04:00
parent bfd99ad8f3
commit 906b52a4fc

View File

@ -11,14 +11,17 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- name: Install - name: Install
uses: borales/actions-yarn@v3.0.0 working-directory: ./website
with: run: yarn install --immutable
cmd: --cwd website install # will run `yarn install` command
- name: Build - name: Build
uses: borales/actions-yarn@v3.0.0 working-directory: ./website
with: run: yarn build
cmd: --cwd website build # will run `yarn build` command
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
with: with: