Skip to content

Commit f3dfb40

Browse files
authored
docs: Reenable the docs publishing workflow (#4291)
Took the workflows from tempo: https://github.com/grafana/tempo/tree/main/.github/workflows
1 parent 0a97784 commit f3dfb40

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

.github/workflows_disabled/publish-technical-documentation-next.yml renamed to .github/workflows/publish-technical-documentation-next.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: publish-technical-documentation-next
22

3+
permissions: {}
4+
35
on:
46
push:
57
branches:
@@ -13,9 +15,11 @@ jobs:
1315
permissions:
1416
contents: read
1517
id-token: write
16-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-24.04
1719
steps:
1820
- uses: actions/checkout@v4
19-
- uses: grafana/writers-toolkit/publish-technical-documentation@publish-technical-documentation/v1
21+
with:
22+
persist-credentials: false
23+
- uses: grafana/writers-toolkit/publish-technical-documentation@9ccaaf1f78c5c045229e7088e816925311c67abc
2024
with:
2125
website_directory: content/docs/pyroscope/next

.github/workflows_disabled/publish-technical-documentation-release.yml renamed to .github/workflows/publish-technical-documentation-release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: publish-technical-documentation-release
22

3+
permissions: {}
4+
35
on:
46
push:
57
branches:
@@ -15,12 +17,13 @@ jobs:
1517
permissions:
1618
contents: read
1719
id-token: write
18-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-24.04
1921
steps:
2022
- uses: actions/checkout@v4
2123
with:
24+
persist-credentials: false
2225
fetch-depth: 0
23-
- uses: grafana/writers-toolkit/publish-technical-documentation-release@publish-technical-documentation-release/v1
26+
- uses: grafana/writers-toolkit/publish-technical-documentation-release@9ccaaf1f78c5c045229e7088e816925311c67abc
2427
with:
2528
release_tag_regexp: "^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"
2629
release_branch_regexp: "^release/v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"

.github/workflows_disabled/update-make-docs.yml renamed to .github/workflows/update-make-docs.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
name: Update `make docs` procedure
2+
3+
permissions: {}
4+
25
on:
36
schedule:
47
- cron: '0 7 * * 1-5'
58
workflow_dispatch:
69
jobs:
710
main:
811
if: github.repository == 'grafana/pyroscope'
9-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1013
steps:
1114
- uses: actions/checkout@v4
12-
- uses: grafana/writers-toolkit/update-make-docs@update-make-docs/v1
15+
with:
16+
persist-credentials: false
17+
- uses: grafana/writers-toolkit/update-make-docs@9ccaaf1f78c5c045229e7088e816925311c67abc
1318
with:
1419
pr_options: >
1520
--label type/docs

0 commit comments

Comments
 (0)