Update Fastfile

This commit is contained in:
Michael Speed 2024-02-10 12:17:39 +01:00
parent 01e97d9867
commit e857834ff6

View File

@ -20,6 +20,8 @@ def set_environment_values(url, init_token, sentry_dsn)
# Update the values
updated_content = content
.gsub("ENVIRONMENT=production")
.gsub("ENVIRONMENT_DEBUG=debug")
.gsub(/^BASE_URL=.*/, "BASE_URL=#{url}")
.gsub(/^INIT_TOKEN=.*/, "INIT_TOKEN=#{init_token}")
.gsub(/^SENTRY_DSN=.*/, "SENTRY_DSN=#{sentry_dsn}")