File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -31,21 +31,21 @@ jobs:
31
31
id : deployment
32
32
with :
33
33
token : ' ${{ secrets.GITHUB_TOKEN }}'
34
- environment-url : ${{needs.deploy.outputs.deployment_url}}/ storybook
34
+ environment-url : ${{needs.deploy.outputs.deployment_url}}storybook
35
35
environment : storybook-preview
36
36
- name : Update deployment status (success)
37
37
if : success()
38
38
uses : chrnorm/deployment-status@v2
39
39
with :
40
40
token : ' ${{ secrets.GITHUB_TOKEN }}'
41
- environment-url : ${{needs.deploy.outputs.deployment_url}}/ storybook
41
+ environment-url : ${{needs.deploy.outputs.deployment_url}}storybook
42
42
state : ' success'
43
43
deployment-id : ${{ steps.deployment.outputs.deployment_id }}
44
44
- name : Update deployment status (failure)
45
45
if : failure()
46
46
uses : chrnorm/deployment-status@v2
47
47
with :
48
48
token : ' ${{ secrets.GITHUB_TOKEN }}'
49
- environment-url : ${{needs.deploy.outputs.deployment_url}}/ storybook
49
+ environment-url : ${{needs.deploy.outputs.deployment_url}}storybook
50
50
state : ' failure'
51
51
deployment-id : ${{ steps.deployment.outputs.deployment_id }}
Original file line number Diff line number Diff line change @@ -17,3 +17,6 @@ mkdir -p ../public/storybook
17
17
18
18
# Remove manager-head after build to not interfere with dev builds
19
19
rm .storybook/manager-head.html
20
+
21
+ # create file to redirect to storybook
22
+ echo ' <!DOCTYPE html><html><head><meta http-equiv="refresh" content="0;url=/storybook/"></head></html>' > ../public/index.html
You can’t perform that action at this time.
0 commit comments