Skip to content

Commit 5fe1d17

Browse files
authored
1 parent 47b5669 commit 5fe1d17

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

.github/workflows/build-storybook.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/deploy-storybook-to-gh-pages.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,20 @@ jobs:
3535

3636
- name: Build Storybook
3737
run: yarn build-storybook
38+
39+
- name: Upload artifact
40+
# Automatically uploads an artifact from the './_site' directory by default
41+
uses: actions/upload-pages-artifact@v3
42+
with:
43+
path: ./storybook-static/
44+
45+
deploy:
46+
environment:
47+
name: github-pages
48+
url: ${{ steps.deployment.outputs.page_url }}
49+
runs-on: ubuntu-latest
50+
needs: build
51+
steps:
52+
- name: Deploy to GitHub Pages
53+
id: deployment
54+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)