diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-08-03 01:21:30 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-08-03 01:21:30 +0300 |
| commit | 0e434881b3f8da1db58dba8d103ddc234ad17238 (patch) | |
| tree | a25d6e4655710d2e0b4d5c3fb3ca72570e5403a7 /.github/workflows/website.yml | |
| parent | 0a800b8f2e9894433c6ef9d106d10766ac408218 (diff) | |
fix(docs): publish only released documentation
Diffstat (limited to '.github/workflows/website.yml')
| -rw-r--r-- | .github/workflows/website.yml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 4cc922d8..4c1be29c 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -6,6 +6,7 @@ on: - ".github/workflows/website.yml" - "website/**" - "docs/next/website/**" + - "docs/preview/**" - "docs/versions/**" - "scripts/test_preview.py" push: @@ -14,6 +15,7 @@ on: - ".github/workflows/website.yml" - "website/**" - "docs/next/website/**" + - "docs/preview/**" - "docs/versions/**" - "scripts/test_preview.py" @@ -40,8 +42,13 @@ jobs: with: bun-version: 1.3.14 - - name: Validate version snapshots - run: node website/scripts/docs-versions.mjs check + - name: Validate published snapshots + run: | + node website/scripts/docs-versions.mjs check + node website/scripts/docs-preview.mjs check - - name: Build website + - name: Build published website run: cd website && bun install --frozen-lockfile && bun run build + + - name: Validate unpublished draft + run: cd website && bun run build:draft |
