[*]Migrated all deploy_ functions to export_

This commit is contained in:
ayakael 2018-06-15 17:40:53 -08:00
parent 1c2371a266
commit d86a2d3860
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026
9 changed files with 33 additions and 33 deletions

View file

@ -81,7 +81,7 @@ case "${1}" in
[[ ${EXIT} -eq 2 ]] && echo "Git directory not a valid git repository"
;;
deploy)
export)
shift
while [[ -n "${1}" ]]; do
case ${1} in
@ -97,7 +97,7 @@ case "${1}" in
;;
esac
done
cmd_deploy "${GIT_DIR}" "${TARGET}" "${OLD_COMMIT}"
cmd_export "${GIT_DIR}" "${TARGET}" "${OLD_COMMIT}"
EXIT=$?
[[ ${EXIT} -eq 0 ]] && echo "Deployment completed successfully"
[[ ${EXIT} -eq 1 ]] && echo "Deployment completed with errors"