Skip to content

docs: fix broken theme #54

docs: fix broken theme

docs: fix broken theme #54

Workflow file for this run

---
name: "Docs: Release to GitHub pages"
on:
workflow_dispatch:
push:
branches:
- main
paths:
- ".github/workflows/deploy-docs.yaml"
- "docs/**"
- "README.md"
jobs:
release-docs:
name: Release documentation
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Generate Token
uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.BOT_APP_ID }}
private_key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
- name: Checkout main branch
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
token: ${{ steps.generate-token.outputs.token }}
fetch-depth: 0
- name: Build docs
uses: docker://ghcr.io/bjw-s/mdbook:0.4.35@sha256:453f1d056d3d42d2555ed5fcda628c296abf168c8ee2f0c072c919bcdce8317e
with:
args: bash -c "cd docs && mdbook build"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3.9.3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ steps.generate-token.outputs.token }}
publish_dir: ./docs/book/html
user_name: "pepinillo-bot[bot]"
user_email: "101514388+pepinillo-bot[bot]@users.noreply.github.com"
commit_message: ${{ github.event.head_commit.message }}