2024-09-19 07:53:45 -05:00
|
|
|
name: publish-technical-documentation-release
|
2022-11-30 08:04:23 -06:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2022-12-09 11:52:06 -06:00
|
|
|
- v[0-9]+.[0-9]+.x
|
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-09-19 07:53:45 -05:00
|
|
|
- uses: grafana/writers-toolkit/publish-technical-documentation-release@publish-technical-documentation-release/v1
|
2022-11-30 08:04:23 -06:00
|
|
|
with:
|
|
|
|
release_tag_regexp: "^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"
|
2022-11-30 10:37:03 -06:00
|
|
|
release_branch_regexp: "^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.x$"
|
2024-09-19 07:53:45 -05:00
|
|
|
release_branch_with_patch_regexp: "^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"
|
|
|
|
website_directory: content/docs/grafana
|
|
|
|
version_suffix: ""
|