Skip to content

Revert to mdbook v0.4.34 because of sidebar bug #122

Revert to mdbook v0.4.34 because of sidebar bug

Revert to mdbook v0.4.34 because of sidebar bug #122

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
env:
CNAME: docs.clamav.net
jobs:
pages:
name: GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install Rust (rustup)
run: rustup update stable --no-self-update && rustup default stable
- name: Install mdBook
run: cargo install --version 0.4.34 mdbook
- name: Build book
run: mdbook build .
- name: Deploy to GitHub
env:
GITHUB_DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
run: |
touch book/.nojekyll
echo ${{ env.CNAME }} > book/CNAME
rustc deploy.rs -o /tmp/deploy
cd book
/tmp/deploy