Skip to content

Fix issue viewing workflow image in dark mode #150

Fix issue viewing workflow image in dark mode

Fix issue viewing workflow image in dark mode #150

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 mdbook
cargo install --git https://github.com/micahsnyder/mdbook-sitemap-generator.git --branch rename-urls-url
- name: Build book
run: |
mdbook build .
mdbook-sitemap-generator -d docs.clamav.net -o book/sitemap.xml
- name: Deploy to GitHub
env:
GITHUB_DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
run: |
touch book/.nojekyll
cp googled62299e9391332c4.html book/googled62299e9391332c4.html
echo ${{ env.CNAME }} > book/CNAME
rustc deploy.rs -o /tmp/deploy
cd book
/tmp/deploy