Merge pull request #1833 from grafana/replace-httpbin #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-website | |
on: | |
push: | |
paths: | |
- "docs/sources/k6/**" | |
- "docs/sources/k6-studio/**" | |
- ".github/workflows/build-website.yml" | |
workflow_dispatch: | |
jobs: | |
build-website: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
persist-credentials: false | |
- name: Build website with k6 docs | |
uses: grafana/writers-toolkit/build-website@4b1248585248751e3b12fd020cf7ac91540ca09c # build-website/v1.0.1 | |
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@4b1248585248751e3b12fd020cf7ac91540ca09c # build-website/v1.0.1 | |
with: | |
source_directory: docs/sources/k6-studio | |
website_directory: content/docs/k6-studio |