Release v0.18.0 #99
Workflow file for this run
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: | |
release: | |
types: [created] | |
jobs: | |
publish-docs-and-install-script: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./book | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Setup mdBook | |
uses: peaceiris/actions-mdbook@v1 | |
with: | |
mdbook-version: 'latest' | |
- name: compiles the documentation | |
run: mdbook build | |
- name: copies install.sh into the deployment folder | |
run: cp ../scripts/install.sh ./book/ | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4.3.0 | |
with: | |
branch: gh-pages | |
folder: book/book | |