Created
August 19, 2017 14:54
-
-
Save AndrewDryga/bf423222aa7360b61d1a392a0e5bace4 to your computer and use it in GitHub Desktop.
Release config with commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Mix.Releases.Config, | |
default_release: :default, | |
default_environment: :default | |
environment :default do | |
set dev_mode: false | |
set include_erts: false | |
set include_src: false | |
set cookie: :"this_is_a_secret" | |
# Add release commands | |
set commands: [ | |
seed: "rel/commands/seed.sh", | |
migrate: "rel/commands/migrate.sh" | |
] | |
end | |
release :myapp do | |
set version: current_version(:myapp_api) | |
set applications: [ | |
myapp_api: :permanent | |
] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment