mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix(docs): deploy includes website documentation (#7469)
We now generate the docs into `website/docs` such that it's used by Docusaurus when we build the site, we need to update the deploy script to generate those docs first.
This commit is contained in:
parent
939ac7f94b
commit
6fde41c6b6
1
.github/workflows/deploy-docs.yml
vendored
1
.github/workflows/deploy-docs.yml
vendored
@ -13,6 +13,7 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
npm install
|
||||
npm run generate-docs
|
||||
npm run build-docs-production
|
||||
- name: Set up SSH
|
||||
uses: webfactory/ssh-agent@v0.4.1
|
||||
|
@ -35,7 +35,7 @@
|
||||
"tsc-esm": "tsc -b src/tsconfig.esm.json",
|
||||
"apply-next-version": "node utils/apply_next_version.js",
|
||||
"test-install": "scripts/test-install.sh",
|
||||
"clean-docs": "rimraf new-docs && rimraf docs-api-json",
|
||||
"clean-docs": "rimraf website/docs && rimraf docs-api-json",
|
||||
"generate-d-ts": "npm run clean-docs && api-extractor run --local --verbose",
|
||||
"generate-docs": "npm run generate-d-ts && api-documenter markdown -i docs-api-json -o website/docs && node utils/remove-tag.js",
|
||||
"ensure-correct-devtools-protocol-revision": "ts-node -s scripts/ensure-correct-devtools-protocol-package",
|
||||
|
Loading…
Reference in New Issue
Block a user