mirror of https://github.com/grafana/grafana.git
31 lines
1015 B
YAML
31 lines
1015 B
YAML
name: publish-technical-documentation-release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- release-[0-9]+.[0-9]+.[0-9]+
|
|
tags:
|
|
- v[0-9]+.[0-9]+.[0-9]+
|
|
paths:
|
|
- "docs/sources/**"
|
|
workflow_dispatch:
|
|
jobs:
|
|
sync:
|
|
if: github.repository == 'grafana/grafana'
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
- uses: grafana/writers-toolkit/publish-technical-documentation-release@publish-technical-documentation-release/v2 # zizmor: ignore[unpinned-uses]
|
|
with:
|
|
release_tag_regexp: "^v(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
|
|
release_branch_regexp: "^release-(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
|
|
release_branch_with_patch_regexp: "^release-(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
|
|
website_directory: content/docs/grafana
|
|
version_suffix: ""
|