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