Skip to content

Bump actions/checkout from 6.0.3 to 7.0.0 in the all-github-actions group #1013

Bump actions/checkout from 6.0.3 to 7.0.0 in the all-github-actions group

Bump actions/checkout from 6.0.3 to 7.0.0 in the all-github-actions group #1013

name: 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:
tags:
- 'v*'
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: Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- run: git fetch origin gh-pages
- run: git fetch origin '+refs/tags/v*:refs/tags/v*' --no-tags
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: v1.26.2
cache: true
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.10'
cache: 'pip'
- run: make generate-cli-docs generate-api-docs deploy-docs