Merge pull request #211 from MOmarMiraj/omar/fix-go-package #96
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
on: | |
push: | |
branches: | |
- main | |
name: Deploy Documentation | |
jobs: | |
deploy-docs: | |
name: Deploy Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: stable | |
- run: (test -x $HOME/.cargo/bin/mdbook || cargo install mdbook) | |
- run: mdbook build docs | |
- uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs/book # The folder the action should deploy. |