-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: deploy storybook to github pages
- Loading branch information
Showing
2 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,17 +46,22 @@ jobs: | |
env: | ||
BUILD_ENV: GHA | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v2 | ||
# - name: Setup Pages | ||
# uses: actions/configure-pages@v2 | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: ./_site | ||
# - name: Upload artifact | ||
# uses: actions/upload-pages-artifact@v1 | ||
# with: | ||
# path: ./_site | ||
|
||
# - name: Deploy to GitHub Pages | ||
# id: deployment | ||
# uses: actions/deploy-pages@v1 | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v1 | ||
- uses: bitovi/[email protected] | ||
with: | ||
path: storybook-static # default: dist/storybook | ||
checkout: false # default: true | ||
|
||
- name: Deploy Storybook to Chromatic | ||
run: npm run chromatic | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ node_modules | |
.DS_Store | ||
.idea | ||
build-storybook.log | ||
storybook-static |