From 59b0f192a1a589f8b3dafd4723ec156705839e6a Mon Sep 17 00:00:00 2001 From: GuySerfaty Date: Sun, 23 Jun 2024 16:14:57 +0300 Subject: [PATCH] fix: cd run only when change on lib or web --- .github/workflows/cd.yml | 2 ++ .github/workflows/deploy.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 80cb098..1ce868c 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,6 +1,8 @@ name: CD on: push: + paths: + - 'src/**' branches: - main diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 82934ab..71f6e78 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,6 +2,8 @@ name: Deploy to GitHub Pages on: push: + paths: + - 'website/**' branches: - main # Review gh actions docs if you want to further define triggers, paths, etc