Maybe: use export instead
This commit is contained in:
parent
12d64041b0
commit
eed413aa64
@ -49,7 +49,8 @@ function update_script() {
|
||||
$STD ./bin/bundle install
|
||||
$STD ./bin/bundle exec bootsnap precompile --gemfile -j 0
|
||||
$STD ./bin/bundle exec bootsnap precompile -j 0 app/ lib/
|
||||
SECRET_KEY_BASE_DUMMY=1 $STD ./bin/rails assets:precompile
|
||||
export SECRET_KEY_BASE_DUMMY=1
|
||||
$STD ./bin/rails assets:precompile
|
||||
$STD dotenv -f ./.env ./bin/rails db:prepare
|
||||
msg_ok "Updated $APP to v${RELEASE}"
|
||||
|
||||
|
@ -74,7 +74,8 @@ RAILS_ASSUME_SSL=false' \
|
||||
$STD ./bin/bundle install
|
||||
$STD ./bin/bundle exec bootsnap precompile --gemfile -j 0
|
||||
$STD ./bin/bundle exec bootsnap precompile -j 0 app/ lib/
|
||||
SECRET_KEY_BASE_DUMMY=1 $STD ./bin/rails assets:precompile
|
||||
export SECRET_KEY_BASE_DUMMY=1
|
||||
$STD ./bin/rails assets:precompile
|
||||
$STD dotenv -f ./.env ./bin/rails db:prepare
|
||||
echo "${RELEASE}" >/opt/maybe_version.txt
|
||||
msg_ok "Installed ${APPLICATION}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user