Skip to content

Commit c2c7cc2

Browse files
committed
try deploy
1 parent 6798dfd commit c2c7cc2

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
name: Build and Publish Storybook to GitHub Pages
1+
name: Deploy Storybook to GitHub Pages
22

33
on:
44
push:
5-
branches:
6-
- 'storybook-resurrect'
5+
branches: [main] # or your actual default branch
76

87
permissions:
98
contents: read
109
pages: write
1110
id-token: write
1211

12+
concurrency:
13+
group: "storybook"
14+
cancel-in-progress: false
15+
1316
jobs:
1417
build:
1518
runs-on: ubuntu-latest
@@ -29,9 +32,11 @@ jobs:
2932
path: ./storybook-static
3033

3134
deploy:
32-
runs-on: ubuntu-latest
3335
needs: build
36+
runs-on: ubuntu-latest
3437
environment:
3538
name: github-pages
39+
url: ${{ steps.deployment.outputs.page_url }}
3640
steps:
3741
- uses: actions/deploy-pages@v4
42+
id: deployment

0 commit comments

Comments
 (0)