Skip to content

Add workflow that builds the website with both documentation sets #1

Add workflow that builds the website with both documentation sets

Add workflow that builds the website with both documentation sets #1

Workflow file for this run

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

Check failure on line 13 in .github/workflows/build-website.yml

View workflow run for this annotation

GitHub Actions / build-website

Invalid workflow file

The workflow is not valid. .github/workflows/build-website.yml (Line: 13, Col: 5): Required property is missing: runs-on
- 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