Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Push to GitHub Pages on push to master
on:
push:
paths:
- 'docs/**'
- 'content/**'
- 'svg/**'
- 'layouts/**'
branches:
- main
jobs:
Expand All @@ -10,15 +15,25 @@ jobs:
steps:
- name: Checkout master
uses: actions/checkout@v4

- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2

- name: Build mdBook
run: mdbook build docs/ -d ../static/documentation

- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.82.0'
extended: true

- name: Build
run: hugo --minify

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: zellij.dev