Skip to content

docs(documentation): add future references for mdBook maintenance #41

docs(documentation): add future references for mdBook maintenance

docs(documentation): add future references for mdBook maintenance #41

Workflow file for this run

---
name: Cloudflare pages
on:
push:
branches: [main]
paths: [docs/**, README.md]
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- name: Setup mdBook πŸ“œ
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: latest
- name: Install further deps πŸ“¦
run: |
sudo apt-get install -y --no-install-recommends cargo
cargo install mdbook-admonish
cargo install mdbook-emojicodes
PATH=$HOME/.cargo/bin:$PATH
- name: Install and Build πŸ”§
run: cd docs && mdbook build
- name: Deploy πŸš€
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: cf-pages
publish_dir: docs/book