Skip to content

Commit

Permalink
test deploy storybooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Colom committed Aug 14, 2023
1 parent 00efef8 commit 87ce2a9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/deploy-storybooks.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
name: Deploy Storybooks

on: ['push']
on:
push:
paths: ["storybook/**"]

jobs:
deploy:
build-and-deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@v3 # Fetch all history for .GitInfo and .Lastmod

- name: Build
run: |
npm install
npm run storybook-web-docs
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '14'

- run: npm install
- run: npm run storybook-web-docs

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion storybook/stories/StatusChip/StatusChip.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const PassingItComponent = (props) => (
letterSpacing={0}
textDecorationLine={'none'}
textTransform={'none'}>
Delivered
in progress
</Text>
</StatusChip>
);
Expand Down

0 comments on commit 87ce2a9

Please sign in to comment.