Skip to content

Commit

Permalink
fix: Push release to ECR
Browse files Browse the repository at this point in the history
Signed-off-by: Trey <[email protected]>
  • Loading branch information
TreyWW committed Apr 28, 2024
1 parent c66cd12 commit 0e5862d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/push_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,16 @@ jobs:
echo "output.css is not created"
exit 1
fi
if [ -f frontend/static/js/bundle.js ] && [ -f frontend/static/js/bundle.js.map ]; then
echo "bundle.js and bundle.js.map are created"
if [ -d frontend/static/js/c/ ]; then
echo "webpack has been built"
else
echo "bundle.js and/or bundle.js.map are not created"
echo "frontend/static/js/c/ was not created from webpack build"
exit 1
fi
if [ -f webpack-stats.json ]; then
echo "webpack has built webpack-stats to work with chunks"
else
echo "webpack-stats was not built so cannot work with chunks"
exit 1
fi
Expand Down

0 comments on commit 0e5862d

Please sign in to comment.