Skip to content

chore: Update docs

chore: Update docs #2

Workflow file for this run

name: Docs
on:
schedule:
- cron: '0 0 * * *'
pull_request: # TODO Remove.
branches:
- main
env:
GOPATH: /home/runner/go/
GOPROXY: "https://proxy.golang.org"
jobs:
docs:
name: Regenerate
runs-on: ubuntu-latest
permissions:
contents: 'write'
id-token: 'write'
pull-requests: 'write'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Regenerate docs
run: pwd && make crd-docs
- name: Save date
id: date
run: echo "date=$(date +%Y-%m-%d)" >> $GITHUB_OUTPUT
- name: Create pull request
uses: peter-evans/create-pull-request@v5
with:
title: "chore: API documentation sync"
body: Automated pull request to regenerate API docs for the deployment operator.
commit-message: Update docs for deployment operator
branch: docs-${{steps.date.outputs.date}}
labels: release
base: main