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