path flag
parent
b14f2c6578
commit
c9ada3a8ee
|
@ -13,9 +13,9 @@ fi
|
|||
|
||||
if [ -n "$PLUGIN_PATH" ]
|
||||
then
|
||||
NETLIFY_DEPLOY_OPTIONS="${NETLIFY_DEPLOY_OPTIONS} -p ${PLUGIN_PATH}"
|
||||
NETLIFY_DEPLOY_OPTIONS="${NETLIFY_DEPLOY_OPTIONS} -d ${PLUGIN_PATH}"
|
||||
else
|
||||
NETLIFY_DEPLOY_OPTIONS="${NETLIFY_DEPLOY_OPTIONS} -p ./"
|
||||
NETLIFY_DEPLOY_OPTIONS="${NETLIFY_DEPLOY_OPTIONS} -d ./"
|
||||
fi
|
||||
|
||||
if [ -z "$PLUGIN_TOKEN" ]
|
||||
|
@ -62,4 +62,4 @@ then
|
|||
exit $rc
|
||||
else
|
||||
echo $'\n'"> Successfully deployed!"$'\n'
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue