Retarget workflow triggers to 5.0.x [skip actions]

This commit is contained in:
Spring Builds
2026-08-31 19:09:25 +00:00
parent cae667d82a
commit ab72b970c0
3 changed files with 6 additions and 17 deletions
+3 -8
View File
@@ -5,7 +5,6 @@
# there and re-run the rollout, otherwise your change will be overwritten.
name: Deploy Docs
on:
push:
# Allow-list of exactly this branch. A topic or Dependabot branch cut from
@@ -13,16 +12,14 @@ on:
# those would dispatch a full docs build for a ref that is not in the
# Antora playbook.
branches:
- main
- 5.0.x
tags: '**'
repository_dispatch:
types: request-build-reference # legacy
workflow_dispatch:
permissions:
contents: read # required to check out private commercial repositories
actions: write # required to dispatch the docs build
contents: read # required to check out private commercial repositories
actions: write # required to dispatch the docs build
jobs:
build:
runs-on: ubuntu-latest
@@ -32,7 +29,6 @@ jobs:
with:
ref: docs-build
fetch-depth: 1
# A branch push rebuilds just that branch's docs; a tag push rebuilds
# everything so the new version appears in the version dropdown.
- name: Dispatch (partial build)
@@ -40,7 +36,6 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD) -f build-refname=${{ github.ref_name }}
- name: Dispatch (full build)
if: github.ref_type == 'tag'
env: