Skip to content

Merge pull request #308 from giggsey/patch-1 #35

Merge pull request #308 from giggsey/patch-1

Merge pull request #308 from giggsey/patch-1 #35

Workflow file for this run

name: Deploy docs
on:
push:
paths:
- 'docs/**'
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
pages:
name: GitHub Gen Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup mdbook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: '0.4.25'
- name: Build the documentation
run: |
mdbook build
# Deploy to the target directory.
- name: Deploy to gh pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book
cname: docs.packeton.org