Skip to content

Commit

Permalink
(chore): Add docs deployment config
Browse files Browse the repository at this point in the history
  • Loading branch information
Oyelowo committed Jan 19, 2025
1 parent 2503d2c commit 4c56a8d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy mdBook Docs

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install mdBook
run: cargo install mdbook

- name: Build the 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

0 comments on commit 4c56a8d

Please sign in to comment.