Skip to content

Commit

Permalink
Fix Vercel Deployment (nebari-dev#323)
Browse files Browse the repository at this point in the history
* Update build action.

* Add new prod build script.

* Update asset urls.

* Test update build script.
  • Loading branch information
jbouder authored Jun 6, 2024
1 parent fe72db5 commit 5fc1d5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/build-and-copy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Rename assets for static name
mv dist/assets/index-*.js dist/assets/index.js
mv dist/assets/index-*.css dist/assets/index.css
# Make copy of assets
cp dist/assets/index-*.js dist/assets/index.js
cp dist/assets/index-*.css dist/assets/index.css

# Copy assets to jhub_apps static folder
cp -r dist/assets/index.js ../jhub_apps/static/js
Expand Down

0 comments on commit 5fc1d5d

Please sign in to comment.