We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0c429c commit c4d545aCopy full SHA for c4d545a
build.sh
@@ -119,7 +119,7 @@ NETBOX_PATH="${NETBOX_PATH-.netbox}"
119
###
120
if [ "${2}" != "--push-only" ] && [ -z "${SKIP_GIT}" ]; then
121
REMOTE_EXISTS=$(git ls-remote --heads --tags "${URL}" "${NETBOX_BRANCH}" | wc -l)
122
- if [ "${REMOTE_EXISTS}" != "1" ]; then
+ if [ "${REMOTE_EXISTS}" == "0" ]; then
123
echo "❌ Remote branch '${NETBOX_BRANCH}' not found in '${URL}'; Nothing to do"
124
if [ -n "${GH_ACTION}" ]; then
125
echo "::set-output name=skipped::true"
0 commit comments