From 99770509c172186ff883a8d8a77a88114bca666c Mon Sep 17 00:00:00 2001 From: chaxus Date: Sat, 27 Apr 2024 15:05:38 +0800 Subject: [PATCH] feat: specifies the directory of the ci --- .github/workflows/ci.yml | 4 ++++ .github/workflows/pages-build-site.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa2d6698d3..35df770176 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,8 +2,12 @@ name: CI on: pull_request: branches: main + paths: + - 'packages/docs/**' push: branches: main + paths: + - 'packages/docs/**' jobs: lint: if: github.repository == 'chaxus/ran' diff --git a/.github/workflows/pages-build-site.yml b/.github/workflows/pages-build-site.yml index 186725de5f..0c479d6e71 100644 --- a/.github/workflows/pages-build-site.yml +++ b/.github/workflows/pages-build-site.yml @@ -3,6 +3,8 @@ on: push: branches: - main + paths: + - 'packages/docs/**' jobs: deploy: runs-on: ubuntu-latest