Skip to content

Disable APIExport VirtualWorkspace URL population #2389

Disable APIExport VirtualWorkspace URL population

Disable APIExport VirtualWorkspace URL population #2389

name: Generate and push docs
on:
# So we can trigger manually if needed
workflow_dispatch:
# To confirm any changes to docs build successfully, without deploying them
pull_request:
# Pushes to branches do the full build + deployment
push:
branches:
- main
- "release-*"
paths:
- "cmd/**"
- "docs/**"
- "pkg/**"
- ".github/workflows/docs-gen-and-push.yaml"
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}
jobs:
generate-and-push:
name: Generate and push docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
- run: git fetch origin gh-pages
- run: git fetch origin '+refs/tags/v*:refs/tags/v*' --no-tags
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # tag=v5.5.0
with:
go-version: v1.23.7
cache: true
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 #tag=v5.6.0
with:
python-version: '3.10'
cache: 'pip'
- run: make generate-cli-docs generate-api-docs deploy-docs