Skip to content

Commit 720240f

Browse files
author
Matt Pearson
committed
Make positional args to set env-vars instead of internal vars.
1 parent 50fa902 commit 720240f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deploy.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ parse_args() {
6363
shift
6464
elif [[ -n ${1} ]]; then
6565
# Set positional args
66-
deploy_directory=$1
66+
GIT_DEPLOY_DIR=$1
6767
if [[ -n $2 ]]; then
68-
deploy_branch=$2
68+
GIT_DEPLOY_BRANCH=$2
6969
fi
7070
if [[ -n $3 ]]; then
71-
repo=$3
71+
GIT_DEPLOY_REPO=$3
7272
fi
7373
break
7474
else

0 commit comments

Comments
 (0)