24 lines
496 B
YAML
24 lines
496 B
YAML
name: "generate-docs"
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
paths:
|
|
- "hack/generate_docs.sh"
|
|
env:
|
|
GOPROXY: https://proxy.golang.org
|
|
GO_VERSION: 1.16.4
|
|
jobs:
|
|
generate-docs:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ${{env.GO_VERSION}}
|
|
stable: true
|
|
- name: gendocs
|
|
run: |
|
|
./hack/generate_docs.sh ${{ secrets.MINIKUBE_BOT_PAT }}
|