Skip to content

Commit

Permalink
GitHub Actions: Generate sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
micahsnyder committed Jan 16, 2024
1 parent 90caa4d commit 64e751d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ jobs:
- name: Install Rust (rustup)
run: rustup update stable --no-self-update && rustup default stable
- name: Install mdBook
run: cargo install mdbook
run: cargo install mdbook mdbook-sitemap-generator
- name: Build book
run: mdbook build .
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 }}
Expand Down

0 comments on commit 64e751d

Please sign in to comment.