Created
December 27, 2018 16:08
-
-
Save lyo5ha/63caa2e4402d546d55a68f882d88467d to your computer and use it in GitHub Desktop.
config
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
APP="my_app" | |
BUILD_HOST="<my_prod_server.com>" | |
BUILD_USER="deploy" | |
BUILD_AT="/home/deploy/app_build" | |
PRODUCTION_HOSTS="<my_prod_server.com>" | |
PRODUCTION_USER="deploy" | |
DELIVER_TO="/home/deploy/app_release" | |
pre_erlang_get_and_update_deps() { | |
local _prod_secret_path="/home/deploy/app_config/prod.secret.exs" | |
if [ "$TARGET_MIX_ENV" = "prod" ]; then | |
__sync_remote " | |
ln -sfn '$_prod_secret_path' '$BUILD_AT/config/prod.secret.exs' | |
" | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment