-
-
Notifications
You must be signed in to change notification settings - Fork 82
32 lines (29 loc) · 838 Bytes
/
docs.yaml
File metadata and controls
32 lines (29 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version: 1.25.x
- name: Generate cmd docs
run: make prep-docs
- name: Run mkdocs
uses: mhausenblas/mkdocs-deploy-gh-pages@a31c6b13a80e4a4fbb525eeb7a2a78253bb15fa5 # master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_DOMAIN: timoni.sh
CONFIG_FILE: mkdocs.yml
REQUIREMENTS: hack/mkdocs/requirements.txt