File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed
Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,6 @@ main() {
77source .env
88fi
99
10- deploy_directory=${GIT_DEPLOY_DIR:- dist}
11- deploy_branch=${GIT_DEPLOY_BRANCH:- gh-pages}
12-
13- # if no user identity is already set in the current git environment, use this:
14- default_username=${GIT_DEPLOY_USERNAME:- deploy.sh}
15- default_email=${GIT_DEPLOY_EMAIL:- }
16-
17- # repository to deploy to. must be readable and writable.
18- repo=${GIT_DEPLOY_REPO:- origin}
19-
20- # append commit hash to the end of message by default
21- append_hash=true
22-
2310# Parse arg flags
2411while : ; do
2512if [[ $1 = " -v" || $1 = " --verbose" ]]; then
@@ -41,6 +28,20 @@ main() {
4128break
4229fi
4330done
31+
32+ # Set default options
33+ deploy_directory=${GIT_DEPLOY_DIR:- dist}
34+ deploy_branch=${GIT_DEPLOY_BRANCH:- gh-pages}
35+
36+ # if no user identity is already set in the current git environment, use this:
37+ default_username=${GIT_DEPLOY_USERNAME:- deploy.sh}
38+ default_email=${GIT_DEPLOY_EMAIL:- }
39+
40+ # repository to deploy to. must be readable and writable.
41+ repo=${GIT_DEPLOY_REPO:- origin}
42+
43+ # append commit hash to the end of message by default
44+ append_hash=true
4445
4546enable_expanded_output
4647
You can’t perform that action at this time.
0 commit comments