Skip to content

Updates TRISA documentation with state workflows (#164) #144

Updates TRISA documentation with state workflows (#164)

Updates TRISA documentation with state workflows (#164) #144

Workflow file for this run

name: Publish Docs
on:
push:
branches:
- main
tags:
- 'v*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.125.0'
extended: true
- name: Build
run: hugo --gc --minify -s docs/ --templateMetrics --templateMetricsHints --verbose --buildDrafts --buildExpired --buildFuture --forceSyncStatic
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: trisacrypto/trisacrypto.github.io
publish_branch: main
publish_dir: ./docs/public
cname: trisa.dev