diff --git a/script.sh b/script.sh index cd72d36..dcb7ea2 100755 --- a/script.sh +++ b/script.sh @@ -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 \ No newline at end of file +fi