Skip to content

feat: force color output in rust, c, and c++ compiler executions (#401) #144

feat: force color output in rust, c, and c++ compiler executions (#401)

feat: force color output in rust, c, and c++ compiler executions (#401) #144

Workflow file for this run

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 }}