From 8e516a7ee80f98fa5623c1bdd124a8b595deb59f Mon Sep 17 00:00:00 2001 From: Cassowary Date: Tue, 10 Oct 2023 14:39:13 -0700 Subject: [PATCH] Make sure entrypoint runs assets:prepcompile every deploy --- abra.sh | 2 +- entrypoint.sh.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/abra.sh b/abra.sh index 370b02c..19d8e43 100755 --- a/abra.sh +++ b/abra.sh @@ -1,6 +1,6 @@ #!/bin/bash -export ENTRYPOINT_CONF_VERSION=v12 +export ENTRYPOINT_CONF_VERSION=v13 file_env() { diff --git a/entrypoint.sh.tmpl b/entrypoint.sh.tmpl index 88eab5e..fb44f0b 100755 --- a/entrypoint.sh.tmpl +++ b/entrypoint.sh.tmpl @@ -39,9 +39,9 @@ file_env "OIDC_CLIENT_SECRET" bundle exec rake db:setup || /bin/true # bundle exec rake webpacker:verify_install || bundle exec rake webpacker:install -#bundle exec rake webpacker:yarn_install +# bundle exec rake webpacker:yarn_install # bundle exec rake assets:clobber -# bundle exec rake assets:precompile || /bin/true +bundle exec rake assets:precompile || /bin/true /usr/bin/tini -s -- "$@"