Skip to content

Commit

Permalink
Fix Storybook Tugboat Alias (#8582)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElijahLynn authored Apr 1, 2022
1 parent 239bacd commit cfb0d9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .storybook/403-error-document.j2.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</head>

<body>
<img class="hero" src="/.web/artur-pokusin-unsplash.jpg">
<img class="hero" src="/.storybook/artur-pokusin-unsplash.jpg">
<h1>Storybook not built yet</h1>
<div class="container-info">
<p>Storybook not built yet</p>
Expand Down
2 changes: 2 additions & 0 deletions .tugboat/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ services:
- j2 "${TUGBOAT_ROOT}/.tugboat/.env.j2" -o "${TUGBOAT_ROOT}/.env"
# This command is shared by the clone and build stages, make sure to update both stages.
- j2 "${TUGBOAT_ROOT}/.web/403-error-document.j2.html" -o "${TUGBOAT_ROOT}/.web/403-error-document.html"
- j2 "${TUGBOAT_ROOT}/.storybook/403-error-document.j2.html" -o "${TUGBOAT_ROOT}/.storybook/403-error-document.html"
- composer install
- composer va:theme:compile
- composer va:web:install
Expand All @@ -171,6 +172,7 @@ services:

# This command is shared by the clone and build stages, make sure to update both stages.
- j2 "${TUGBOAT_ROOT}/.web/403-error-document.j2.html" -o "${TUGBOAT_ROOT}/.web/403-error-document.html"
- j2 "${TUGBOAT_ROOT}/.storybook/403-error-document.j2.html" -o "${TUGBOAT_ROOT}/.storybook/403-error-document.html"

online:
# Build the static version of storybook for displaying CMS design system
Expand Down

0 comments on commit cfb0d9d

Please sign in to comment.