Fix code var to match yaml input

INPUT_TARGET_PUSH_ARGS -> INPUT_TARGET_BRANCH_PUSH_ARGS
This commit is contained in:
Adam Ormsby
2022-05-10 09:14:36 +07:00
parent 8bfb7e7a0d
commit 8977273fcd
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ if [ -z "${GITHUB_ACTIONS}" ] || [ "${GITHUB_ACTIONS}" = false ]; then
# shellcheck disable=SC2034
INPUT_UPSTREAM_PULL_ARGS=""
# shellcheck disable=SC2034
INPUT_TARGET_PUSH_ARGS=""
INPUT_TARGET_BRANCH_PUSH_ARGS=""
# git config vars - required if they aren't already set
# shellcheck disable=SC2034
+4 -1
View File
@@ -19,7 +19,10 @@
"titleBar.activeBackground": "#215732",
"titleBar.activeForeground": "#e7e7e7",
"titleBar.inactiveBackground": "#21573299",
"titleBar.inactiveForeground": "#e7e7e799"
"titleBar.inactiveForeground": "#e7e7e799",
"sash.hoverBorder": "#2f7c47",
"statusBarItem.remoteBackground": "#215732",
"statusBarItem.remoteForeground": "#e7e7e7"
},
"peacock.color": "#215732"
}
+1 -1
View File
@@ -11,7 +11,7 @@ push_new_commits() {
fi
# shellcheck disable=SC2086
git push ${INPUT_TARGET_PUSH_ARGS} origin "${INPUT_TARGET_SYNC_BRANCH}"
git push ${INPUT_TARGET_BRANCH_PUSH_ARGS} origin "${INPUT_TARGET_SYNC_BRANCH}"
COMMAND_STATUS=$?
if [ "${COMMAND_STATUS}" != 0 ]; then