mirror of
https://github.com/goreleaser/nfpm
synced 2024-06-19 14:39:19 +02:00
feat(ci): auto-update cmd docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
parent
da18e16a21
commit
eab9af1d52
|
@ -0,0 +1,31 @@
|
|||
name: generate
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
paths:
|
||||
- '.github/workflows/generate.yml'
|
||||
- 'www/*'
|
||||
- 'cmd/*'
|
||||
- 'internal/cmd/*'
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: checkout
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
name: setup go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16
|
||||
-
|
||||
name: docs
|
||||
run: ./scripts/cmd_docs.sh
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: "docs: update cmd docs"
|
||||
branch: master
|
Loading…
Reference in New Issue