Skip to content

Merge pull request #384 from stefanprodan/build-release-latest #166

Merge pull request #384 from stefanprodan/build-release-latest

Merge pull request #384 from stefanprodan/build-release-latest #166

Workflow file for this run

name: docs
on:
workflow_dispatch:
push:
branches: [ 'docs*' ]
tags: [ 'v*' ]
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: 'go.mod'
cache: true
- name: Generate cmd docs
run: make prep-docs
- name: Run mkdocs
uses: mhausenblas/mkdocs-deploy-gh-pages@e55ecab6718b449a90ebd4313f1320f9327f1386 # master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_DOMAIN: timoni.sh
CONFIG_FILE: mkdocs.yml
REQUIREMENTS: hack/mkdocs/requirements.txt