Skip to content

Commit b6547a4

Browse files
author
Ruslan Farkhutdinov
committed
Storybook Deployment: Add wait-for-pages-deployment flag & add environment protection
1 parent 8681147 commit b6547a4

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/pr-storybook-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
name: Build preview artifacts
2828
runs-on: ubuntu-latest
2929
timeout-minutes: 20
30+
environment: github-pages
3031

3132
steps:
3233
- name: Decide action (deploy/remove/none)

.github/workflows/pr-storybook-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,4 @@ jobs:
8181
umbrella-dir: preview
8282
comment: false
8383
token: ${{ github.token }}
84+
wait-for-pages-deployment: true

0 commit comments

Comments
 (0)