Skip to content

Commit

Permalink
Add workflow that builds the website with both documentation sets
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Baldry <[email protected]>
  • Loading branch information
jdbaldry committed Jan 14, 2025
1 parent faae8c7 commit 6450336
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: build-website

on:
push:
paths:
- "docs/sources/k6/**"
- "docs/sources/k6-studio/**"
- ".github/workflows/build-website.yml"
workflow_dispatch:

jobs:
build-website:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: Build website with k6 docs
uses: grafana/writers-toolkit/build-website@dbbf3fc8cda31d42362948daca2360772085ae03 # build-website/v1.0.0
with:
source_directory: docs/sources/k6
website_directory: content/docs/k6/next

- name: Build website with k6 Studio docs
uses: grafana/writers-toolkit/build-website@dbbf3fc8cda31d42362948daca2360772085ae03 # build-website/v1.0.0
with:
source_directory: docs/sources/k6-studio
website_directory: content/docs/k6-studio

0 comments on commit 6450336

Please sign in to comment.