Skip to content

Commit

Permalink
test storybook deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinKato committed Oct 13, 2023
1 parent 29b54a3 commit 525f53c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: CI
on: [push]
on:
push:
paths: ['cl2-component-library/src/**'] # Trigger the action only when files change in the folders defined here
jobs:
build:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Deploy Storybook
on:
push:
branches:
- master
- move-component-lib-to-main-repo
paths: ['cl2-component-library/src/**'] # Trigger the action only when files change in the folders defined here
jobs:
build-and-deploy:
Expand All @@ -27,7 +27,7 @@ jobs:
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GB_TOKEN }}
BRANCH: main # The branch the action should deploy to.
BRANCH: cl2-component-library-storybook-test # The branch the action should deploy to.
FOLDER: cl2-component-library/docs-build # The folder that the build-storybook script generates files.
CLEAN: true # Automatically remove deleted files from the deploy branch
TARGET_FOLDER: cl2-component-library/docs # The folder that we serve our Storybook files from

0 comments on commit 525f53c

Please sign in to comment.