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.
2 parents 946a503 + 34ce5be commit 6c762a7Copy full SHA for 6c762a7
build.sh
@@ -108,12 +108,12 @@ SRC_ORG="${SRC_ORG-netbox-community}"
108
SRC_REPO="${SRC_REPO-netbox}"
109
BRANCH="${1}"
110
URL="${URL-https://github.com/${SRC_ORG}/${SRC_REPO}.git}"
111
+NETBOX_PATH="${NETBOX_PATH-.netbox}"
112
113
###
114
# fetching the source
115
-if [ "${2}" != "--push-only" ] ; then
116
- NETBOX_PATH="${NETBOX_PATH-.netbox}"
+if [ "${2}" != "--push-only" ] && [ -z "${SKIP_GIT}" ] ; then
117
echo "🌐 Checking out '${BRANCH}' of netbox from the url '${URL}' into '${NETBOX_PATH}'"
118
if [ ! -d "${NETBOX_PATH}" ]; then
119
$DRY git clone -q --depth 10 -b "${BRANCH}" "${URL}" "${NETBOX_PATH}"
0 commit comments