feat: force color output in rust, c, and c++ compiler executions (#401) #144
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 | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install mdBook | |
run: | | |
curl -sSL -o /tmp/mdbook.tar.gz https://github.com/rust-lang/mdBook/releases/download/v0.4.36/mdbook-v0.4.36-x86_64-unknown-linux-gnu.tar.gz | |
tar -xf /tmp/mdbook.tar.gz -C /usr/local/bin | |
mdbook --version | |
- name: Build the book | |
run: | | |
cd docs | |
mdbook build | |
- name: Deploy build to gh-pages branch | |
uses: crazy-max/ghaction-github-pages@v4 | |
with: | |
target_branch: gh-pages | |
build_dir: docs/book | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |