Skip to content

Commit

Permalink
backstage: improve build for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
chee authored and notlee committed Nov 8, 2021
1 parent d4d4068 commit dc3e4c9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/build-website.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ bundle
bundle exec jekyll build -d ../../origami.ft.com --incremental
cd ../storybook/
npm run build-storybook
cd ../../
cp serve.json origami.ft.com

if ! [ -z "$SHOULD_DELETE_ALL_YOUR_FILES" ]; then
rm -r apps components libraries tools
fi
3 changes: 3 additions & 0 deletions serve.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"trailingSlash": true
}

0 comments on commit dc3e4c9

Please sign in to comment.