Skip to content

Commit

Permalink
fix(docs): deploy includes website documentation (#7469)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jackfranklin committed Aug 5, 2021
1 parent 939ac7f commit 6fde41c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy-docs.yml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down

0 comments on commit 6fde41c

Please sign in to comment.