From 9fa87025502ed5217a95d65de18705d6afc06bff Mon Sep 17 00:00:00 2001 From: LoweMbonda Date: Tue, 7 Mar 2023 10:39:00 +0100 Subject: [PATCH] ci: test ci script 2 --- .github/workflows/storybook.yml | 6 +----- src/components/atoms/button/Button.tsx | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 6ef7810..f2851ae 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -3,7 +3,7 @@ on: push: paths: ["stories/**", "src/components/**"] # Trigger the action only when files change in the folders defined here jobs: - build: + build-and-deploy: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ @@ -14,10 +14,6 @@ jobs: run: | # Install npm packages and build the Storybook files npm install npm run build-storybook - deploy: - runs-on: ubuntu-latest - needs: [build] - steps: - name: Deploy storybook to GitHub Pages run: npm run deploy-storybook -- --ci --source-branch=main env: diff --git a/src/components/atoms/button/Button.tsx b/src/components/atoms/button/Button.tsx index 64d779b..d457fb2 100644 --- a/src/components/atoms/button/Button.tsx +++ b/src/components/atoms/button/Button.tsx @@ -135,4 +135,3 @@ const Button: React.FC = ({ }; export default Button; -// just to trigger ci