2021-11-02 21:21:46 -03:00
|
|
|
name: generate
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-11-12 17:23:32 -03:00
|
|
|
- 'main'
|
2021-11-02 21:21:46 -03:00
|
|
|
paths:
|
|
|
|
- '.github/workflows/generate.yml'
|
|
|
|
- CONTRIBUTING.md
|
|
|
|
- USERS.md
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
docs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-11-02 21:31:53 -03:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GH_PAT }}
|
2021-11-02 21:21:46 -03:00
|
|
|
- uses: actions/setup-go@v2
|
|
|
|
with:
|
|
|
|
go-version: 1.17
|
|
|
|
- uses: arduino/setup-task@v1
|
|
|
|
- run: task docs:generate
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
|
|
with:
|
|
|
|
commit_message: "docs: update"
|
2021-11-12 17:23:32 -03:00
|
|
|
branch: main
|