Skip to content

Commit bbb75df

Browse files
committed
Only seed in REVIEW_APP == true environments (need to set on staging via opentofu & set on heroku via app.json)
1 parent 688d47b commit bbb75df

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

db/seeds.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ def find_or_create_nj_archived_intake(attributes)
116116
)
117117
end
118118

119-
unless Rails.env.production? && ENV["REVIEW_APP"].nil?
120-
119+
if ENV["REVIEW_APP"] == "true"
121120
# 2023 and 2024 AZ Clients (same address, contact)
122121
az_repeat_data = [
123122
[ "Apt 2B", "Munchkinville", "123 Yellow Brick Rd", "85034" ],

0 commit comments

Comments
 (0)