mirror of
https://github.com/meditohq/medito-app.git
synced 2024-09-11 12:15:46 +03:00
Update Fastfile
This commit is contained in:
parent
01e97d9867
commit
e857834ff6
@ -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}")
|
||||
|
Loading…
Reference in New Issue
Block a user