Skip to content

Commit

Permalink
Trying to publish storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
addisonbeck committed Oct 4, 2023
1 parent 22ee0a8 commit c05d8f6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ jobs:
target: ${{ secrets.DEPLOY_PATH }}
strip_components: 1
overwrite: true
- run: npm run build:storybook
- name: deploy storybook
uses: appleboy/[email protected]
with:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USERNAME }}
key: ${{ secrets.DEPLOY_KEY_PRI }}
source: storybook-static/*
target: ${{ secrets.DEPLOY_PATH_STORYBOOK }}
strip_components: 1
overwrite: true

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test:integration": "playwright test",
"test:unit": "vitest --ui --coverage",
"storybook": "storybook dev -p 3002 --no-open",
"build-storybook": "storybook build"
"build:storybook": "storybook build"
},
"devDependencies": {
"@codemirror/lang-json": "^6.0.1",
Expand Down

0 comments on commit c05d8f6

Please sign in to comment.