From 8017fc8c8625936d02de90384efc476d7f07d387 Mon Sep 17 00:00:00 2001 From: Joshua Permito Date: Thu, 21 Dec 2023 21:06:19 +0800 Subject: [PATCH] ci: run docs workflow only on `docs/` and `built_docs/` folder changes --- .github/workflows/docs-cf-pages-publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/docs-cf-pages-publish.yml b/.github/workflows/docs-cf-pages-publish.yml index b8d7bc7..6e446bb 100644 --- a/.github/workflows/docs-cf-pages-publish.yml +++ b/.github/workflows/docs-cf-pages-publish.yml @@ -2,6 +2,9 @@ name: Publish Writerside and JSDoc documentation to Cloudflare Pages on: push: + paths: + - 'docs/**' + - 'built_docs/**' branches: - main - 'Sprint-[0-9]*'