summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSho Sakuma <me@m1sk9.dev>2026-04-07 16:48:29 +0900
committerSho Sakuma <me@m1sk9.dev>2026-04-07 16:48:29 +0900
commitcac8788aa38d56e360e284113867b5cc7bfcfc43 (patch)
treebb312f369596347e55e457e1f2f60d7172da4cb3
parentd6e8aba2a8714104d39df98fc95c531a4c7a6f8b (diff)
downloadLunaticChat-cac8788aa38d56e360e284113867b5cc7bfcfc43.tar.gz
LunaticChat-cac8788aa38d56e360e284113867b5cc7bfcfc43.tar.bz2
LunaticChat-cac8788aa38d56e360e284113867b5cc7bfcfc43.zip
ci(docs): add path filter and prevent mid-deploy cancellation
- Trigger only on website/ and workflow file changes to avoid unnecessary redeploys from unrelated pushes (e.g. Renovate) - Set cancel-in-progress to false to prevent wrangler deploy from being interrupted, which left the site stuck on "Deploying..." Co-Authored-By: Claude <noreply@anthropic.com>
-rw-r--r--.github/workflows/docs.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml
index fb7809d..d9679ad 100644
--- a/.github/workflows/docs.yaml
+++ b/.github/workflows/docs.yaml
@@ -4,6 +4,9 @@ on:
push:
branches:
- main
+ paths:
+ - "website/**"
+ - ".github/workflows/docs.yaml"
workflow_dispatch:
jobs:
@@ -11,7 +14,7 @@ jobs:
runs-on: ubuntu-24.04
concurrency:
group: docs-${{ github.ref }}
- cancel-in-progress: true
+ cancel-in-progress: false
permissions:
contents: read
defaults: