-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix deploy docs action * Restore mdbook script --------- Co-authored-by: Oleg Nosov <[email protected]>
- Loading branch information
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ on: | |
push: | ||
branches: | ||
- master | ||
- fix/deploy-docs | ||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
|
@@ -19,6 +20,7 @@ jobs: | |
|
||
- name: Install and Build 🔧 # Only need to install jsdoc package here and then run docs script | ||
run: | | ||
npm install -g turbo | ||
yarn install --frozen-lockfile --ignore-scripts | ||
turbo run docs | ||
|
@@ -28,7 +30,7 @@ jobs: | |
mdbook-version: "latest" | ||
|
||
- name: Generate mdBook | ||
run: turbo run mdbook | ||
run: yarn run mdbook | ||
|
||
- name: Install SSH Client 🔑 | ||
uses: webfactory/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
}, | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"mdbook": "mdbook build tutorials --dest-dir ../out/tutorials", | ||
"publish-packages": "changeset version && changeset publish" | ||
} | ||
} |