ci: fix build docs (#13490)
This commit is contained in:
parent
a74989ddf4
commit
ac4fb8b8df
7
.github/workflows/build-docs.yml
vendored
7
.github/workflows/build-docs.yml
vendored
@ -24,6 +24,13 @@ jobs:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "16.x"
|
||||
|
||||
# npm install npm should be removed when https://github.com/npm/cli/issues/4942 is fixed
|
||||
- name: Build docs
|
||||
run: |
|
||||
npm install -g npm@8.5.5
|
||||
make build-docs
|
||||
|
||||
2
.github/workflows/deploy-docs.yml
vendored
2
.github/workflows/deploy-docs.yml
vendored
@ -32,8 +32,10 @@ jobs:
|
||||
with:
|
||||
node-version: "16.x"
|
||||
|
||||
# npm install npm should be removed when https://github.com/npm/cli/issues/4942 is fixed
|
||||
- name: Build 🔧
|
||||
run: |
|
||||
npm install -g npm@8.5.5
|
||||
make build-docs
|
||||
|
||||
- name: Deploy 🚀
|
||||
|
||||
Loading…
Reference in New Issue
Block a user