Commented out path #6
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: build and deploy docs | |
on: | |
push: | |
branches: | |
# - master | |
- fix-docs-build | |
# paths: | |
# - "docs/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Setup Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
- name: Install mdbook | |
run: | | |
cargo install mdbook | |
- name: Build mdBook | |
working-directory: docs | |
run: | | |
mdbook build | |
# - name: Copy CNAME file | |
# working-directory: docs | |
# run: | | |
# cp CNAME ./book/ | |
# - name: Deploy to GitHub Pages | |
# uses: peaceiris/actions-gh-pages@v3 | |
# with: | |
# github_token: ${{ secrets.GH_TOKEN }} | |
# publish_dir: ./docs/book |