Update website-publish.yml
This commit is contained in:
parent
906b52a4fc
commit
9c2ec0fffa
7
.github/workflows/website-publish.yml
vendored
7
.github/workflows/website-publish.yml
vendored
@ -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
|
Loading…
x
Reference in New Issue
Block a user