Skip to content

Commit

Permalink
Fix deploy docs action (#450)
Browse files Browse the repository at this point in the history
* Fix deploy docs action

* Restore mdbook script

---------

Co-authored-by: Oleg Nosov <[email protected]>
  • Loading branch information
cykoder and olegnn authored Oct 10, 2024
1 parent a0be907 commit 395f5cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- master
- fix/deploy-docs
jobs:
build-and-deploy:
runs-on: ubuntu-latest
Expand All @@ -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
Expand All @@ -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]
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"packageManager": "[email protected]",
"scripts": {
"mdbook": "mdbook build tutorials --dest-dir ../out/tutorials",
"publish-packages": "changeset version && changeset publish"
}
}

0 comments on commit 395f5cc

Please sign in to comment.