2024-09-19 07:53:45 -05:00
|
|
|
name: publish-technical-documentation-release
|
2022-11-30 08:04:23 -06:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2025-02-12 10:11:12 -06:00
|
|
|
- release-[0-9]+.[0-9]+.[0-9]+
|
2022-11-30 08:04:23 -06:00
|
|
|
tags:
|
|
|
|
- v[0-9]+.[0-9]+.[0-9]+
|
|
|
|
paths:
|
|
|
|
- "docs/sources/**"
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
sync:
|
2023-08-02 06:25:23 -05:00
|
|
|
if: github.repository == 'grafana/grafana'
|
2024-09-19 07:53:45 -05:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
id-token: write
|
|
|
|
runs-on: ubuntu-latest
|
2022-11-30 08:04:23 -06:00
|
|
|
steps:
|
2024-09-19 07:53:45 -05:00
|
|
|
- uses: actions/checkout@v4
|
2022-11-30 08:04:23 -06:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2024-12-17 02:29:59 -06:00
|
|
|
- uses: grafana/writers-toolkit/publish-technical-documentation-release@publish-technical-documentation-release/v2
|
2022-11-30 08:04:23 -06:00
|
|
|
with:
|
2024-12-17 02:29:59 -06:00
|
|
|
release_tag_regexp: "^v(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
|
2025-02-05 13:04:03 -06:00
|
|
|
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]*)$"
|
2024-09-19 07:53:45 -05:00
|
|
|
website_directory: content/docs/grafana
|
|
|
|
version_suffix: ""
|