Skip to content

Merge pull request #156 from stefanprodan/fail-fast #126

Merge pull request #156 from stefanprodan/fail-fast

Merge pull request #156 from stefanprodan/fail-fast #126

Workflow file for this run

name: docs
on:
push:
branches: [ 'docs*' ]
tags: [ 'v*' ]
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup Go
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version: 1.20.x
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Generate cmd docs
run: make 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