mirror of
https://github.com/goreleaser/nfpm
synced 2024-05-04 10:56:11 +02:00
437d9ef31a
* refactor: remove usage of ioutil Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> * fix(ci): actually use go 1.19 Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
37 lines
732 B
YAML
37 lines
732 B
YAML
name: generate
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
paths:
|
|
- '.github/workflows/generate.yml'
|
|
- 'www/*'
|
|
- 'cmd/*'
|
|
- 'internal/cmd/*'
|
|
|
|
jobs:
|
|
docs:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: checkout
|
|
uses: actions/checkout@v3
|
|
-
|
|
name: setup go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.19
|
|
-
|
|
name: Set up Task
|
|
uses: arduino/setup-task@v1
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
-
|
|
name: Refresh docs
|
|
run: task docs:generate
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: "docs: update cmd docs"
|
|
branch: main
|