We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 884c653 commit 6cde76aCopy full SHA for 6cde76a
.github/workflows/deploy-pr-preview.yml
@@ -0,0 +1,30 @@
1
+name: Deploy pr preview
2
+
3
+on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - synchronize
8
+ - closed
9
+ paths:
10
+ - "docs/sources/k6/**"
11
12
+jobs:
13
+ deploy-pr-preview:
14
+ if: "!github.event.pull_request.head.repo.fork"
15
+ uses: grafana/writers-toolkit/.github/workflows/deploy-preview.yml@main
16
+ with:
17
+ branch: ${{ github.head_ref }}
18
+ event_number: ${{ github.event.number }}
19
+ repo: k6-docs
20
+ sha: ${{ github.event.pull_request.head.sha }}
21
+ sources: |
22
+ [
23
+ {
24
+ "relative_prefix": "/docs/grafana-cloud/k6-docs/",
25
+ "repo": k6-docs,
26
+ "source_directory": "docs/sources/k6",
27
+ "website_directory": "content/docs/k6"
28
+ }
29
+ ]
30
+ title: ${{ github.event.pull_request.title }}
0 commit comments