From d74df7cd6871eec006a340c35751fd2b5cce634e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20Wypch=C5=82o?= Date: Fri, 18 Feb 2022 13:56:59 +0100 Subject: [PATCH] deploy storybook only on changes in dashboard-v2 --- .github/workflows/deploy-dashboard-v2-storybook.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-dashboard-v2-storybook.yml b/.github/workflows/deploy-dashboard-v2-storybook.yml index 5490e9df..b4591b59 100644 --- a/.github/workflows/deploy-dashboard-v2-storybook.yml +++ b/.github/workflows/deploy-dashboard-v2-storybook.yml @@ -1,5 +1,14 @@ name: Build Storybook - packages/dashboard-v2 -on: [pull_request] + +on: + push: + branches: + - master + paths: + - "packages/dashboard-v2/**" + pull_request: + paths: + - "packages/dashboard-v2/**" defaults: run: