Skip to content

Commit 28c4600

Browse files
committed
ci: add deploy step
1 parent 8de6b21 commit 28c4600

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/deploy-github-pages.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
id-token: write
1212

1313
jobs:
14-
deploy:
14+
build:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v6
@@ -30,3 +30,14 @@ jobs:
3030
uses: actions/upload-pages-artifact@v4
3131
with:
3232
path: packages/storybook/storybook-static
33+
34+
deploy:
35+
environment:
36+
name: github-pages
37+
url: ${{ steps.deployment.outputs.page_url }}
38+
runs-on: ubuntu-latest
39+
needs: build
40+
steps:
41+
- name: Deploy to GitHub Pages
42+
id: deployment
43+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)