Skip to content

[archive-client] (feat/blog-details-optimization): Enhance blog detai… #334

[archive-client] (feat/blog-details-optimization): Enhance blog detai…

[archive-client] (feat/blog-details-optimization): Enhance blog detai… #334

Workflow file for this run

name: 📘 Deploy DOCS to GitHub Pages
on:
push:
branches: [master]
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout
uses: actions/checkout@v3
- name: 💾 Setup Cache & Install mdBook
uses: ./.github/actions/cargo-mdbook-cache
- name: 📝 Generate SUMMARY.md and index docs
run: |
chmod +x ./scripts/docs/generate_index.sh
./scripts/docs/generate_index.sh
- name: 🛠️ Build Book
run: mdbook build docs
- name: 🚀 Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/book