Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deploy docs action #450

Merged
merged 3 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}
Loading