-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
93dd715
commit d1d8b90
Showing
2 changed files
with
22 additions
and
8 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 |
---|---|---|
|
@@ -15,10 +15,25 @@ jobs: | |
name: github-pages | ||
url: ${{ steps.build-publish.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: build-publish | ||
uses: bitovi/[email protected] | ||
with: | ||
path: storybook-static | ||
install_command: npm i | ||
build_command: NODE_ENV=production npm run build:for:storybook && npm run build:storybook | ||
steps: | ||
# Step to checkout the repository | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Step to install dependencies | ||
- name: Install dependencies | ||
run: npm install | ||
|
||
# Step to build for Storybook | ||
- name: Build for Storybook | ||
run: NODE_ENV=production npm run build:for:storybook | ||
|
||
# Step to build Storybook | ||
- name: Build Storybook | ||
run: NODE_ENV=production npm run build:storybook | ||
|
||
# Step to deploy to GitHub Pages | ||
- name: Deploy Storybook to GitHub Pages | ||
uses: bitovi/[email protected] | ||
with: | ||
path: storybook-static |
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