aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/website.yml
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-22 14:58:26 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-22 14:59:09 +0300
commitc234f221f9be698bc0501c60459e1ae8e67df6c3 (patch)
tree944b4dec10fada8d93456dc5a85e6bfdb36a8b8b /.github/workflows/website.yml
parentef85fa0c7ebb48bb59fe7593af5a67f3e02ff3d4 (diff)
feat(docs): publish versioned release documentation
Diffstat (limited to '.github/workflows/website.yml')
-rw-r--r--.github/workflows/website.yml47
1 files changed, 47 insertions, 0 deletions
diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml
new file mode 100644
index 00000000..4cc922d8
--- /dev/null
+++ b/.github/workflows/website.yml
@@ -0,0 +1,47 @@
+name: Website
+
+on:
+ pull_request:
+ paths:
+ - ".github/workflows/website.yml"
+ - "website/**"
+ - "docs/next/website/**"
+ - "docs/versions/**"
+ - "scripts/test_preview.py"
+ push:
+ branches: [master]
+ paths:
+ - ".github/workflows/website.yml"
+ - "website/**"
+ - "docs/next/website/**"
+ - "docs/versions/**"
+ - "scripts/test_preview.py"
+
+permissions:
+ contents: read
+
+concurrency:
+ group: website-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ timeout-minutes: 10
+ steps:
+ - name: Checkout
+ uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
+ with:
+ fetch-depth: 0
+ persist-credentials: false
+
+ - name: Install Bun
+ uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
+ with:
+ bun-version: 1.3.14
+
+ - name: Validate version snapshots
+ run: node website/scripts/docs-versions.mjs check
+
+ - name: Build website
+ run: cd website && bun install --frozen-lockfile && bun run build