docs: fix baseUrl #104
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
name: Deploy docs/install-script to gh-pages branch for public use | |
on: | |
push: | |
branches: [main] | |
jobs: | |
publish-docs-and-install-script: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./book | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 22.x | |
- name: Install dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: copies install.sh into the deployment folder | |
run: cp ../scripts/install.sh ./build/ | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: book/build | |