Update render-build.sh

This commit is contained in:
Josh Pigford
2025-05-07 10:00:24 -05:00
parent 2b2dfd03e0
commit 64d5a73eb7

View File

@@ -1,12 +1,13 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# exit on error
set -o errexit set -o errexit
echo "Installing gems..." echo "Installing gems..."
bundle install bundle install
echo "Precompiling assets..." echo "Clobbering old assets..."
./bin/rails assets:precompile bundle exec rails assets:clobber
./bin/rails assets:clean
echo "Build complete" echo "Precompiling assets for production..."
bundle exec rails assets:precompile
echo "✅ Build complete"