Update website-publish.yml

This commit is contained in:
Daniel Lautzenheiser 2022-09-30 12:00:20 -04:00
parent 906b52a4fc
commit 9c2ec0fffa

View File

@ -16,14 +16,15 @@ jobs:
with: with:
node-version: '16' node-version: '16'
cache: 'yarn' cache: 'yarn'
cache-dependency-path: 'website/yarn.lock'
- name: Install - name: Install
working-directory: ./website working-directory: website
run: yarn install --immutable run: yarn install --immutable
- name: Build - name: Build
working-directory: ./website working-directory: website
run: yarn build run: yarn build
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
with: with:
github_token: ${{ secrets.ACCESS_TOKEN }} github_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: ./website/dist publish_dir: website/dist