Skip to content

Add support for configuration files. #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Dec 17, 2015
Merged
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ main() {
fi

#append commit hash to the end of message by default
append_hash=true
append_hash=${GIT_DEPLOY_APPEND_HASH:-true}

# Parse arg flags
while : ; do
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ You can also define any of variables using environment variables and configurati
- `GIT_DEPLOY_DIR`
- `GIT_DEPLOY_BRANCH`
- `GIT_DEPLOY_REPO`
- `GIT_DEPLOY_APPEND_HASH`

The script will set these variables in this order of preference:

Expand Down