Skip to content

Commit

Permalink
build docs using hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
strowk committed Dec 21, 2024
1 parent 4c7e96c commit 389784e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/docs_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ jobs:
- uses: actions/checkout@v3
- run: npm ci
shell: bash
# install mkdocs with material theme
- run: pip install mkdocs mkdocs-material
shell: bash
# install hugo
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.140.0'
extended: true
# build the site
- run: mkdocs build
shell: bash
- name: Build
run: hugo --minify
- run: touch public/.nojekyll # this to make Github not treat this as Jekyll
- run: echo 'foxy-contexts.str4.io' > ./public/CNAME
# following I took from gh-pages docs:
Expand Down

0 comments on commit 389784e

Please sign in to comment.