Skip to content

Commit

Permalink
publish storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
Bitaru committed Feb 15, 2023
1 parent 79a9d8a commit 0fd21d5
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,3 @@ jobs:
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}

- name: Deploy Github Page
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook-static
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dev": "concurrently \"pnpm manifest --watch\" \"storybook dev --port 6006\"",
"build": "concurrently \"tsc\" \"vite build\"",
"build:storybook": "pnpm run manifest && storybook build",
"publish": "gh-pages -d storybook-static",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
Expand All @@ -43,6 +44,7 @@
"@vitejs/plugin-legacy": "^3.0.1",
"cem-plugin-better-lit-types": "^0.1.17",
"concurrently": "^7.3.0",
"gh-pages": "^5.0.0",
"lit-html": "^2.6.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
108 changes: 108 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0fd21d5

Please sign in to comment.