Skip to content

Commit

Permalink
Make sure that build does not need ENV variables
Browse files Browse the repository at this point in the history
  • Loading branch information
robbevp committed Oct 14, 2023
1 parent ed20df4 commit 2861c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
# We need to compile with the production flag, so vite_rails compiles to the right folder
# We also need to provide rails with _some_ SECRET_KEY_BASE, so we just provide a dummy value
SECRET_KEY_BASE=abc RAILS_ENV=production ${gems}/bin/bundle exec rails assets:precompile
RAILS_ENV=production ${gems}/bin/bundle exec vite build
rm node_modules
'';

Expand Down

0 comments on commit 2861c7e

Please sign in to comment.