diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2a1dc3a64..af1b27cd3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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/ssh-agent@v0.4.1 diff --git a/package.json b/package.json index 7bb5b39a4..abde1ffd4 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ }, "packageManager": "yarn@1.22.22", "scripts": { + "mdbook": "mdbook build tutorials --dest-dir ../out/tutorials", "publish-packages": "changeset version && changeset publish" } }