Add debug option
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
56a6269975
commit
0b0dfa9f44
|
@ -35,6 +35,12 @@ then
|
|||
NETLIFY_DEPLOY_OPTIONS="${NETLIFY_DEPLOY_OPTIONS} --alias ${DRONE_COMMIT_SHA}"
|
||||
fi
|
||||
|
||||
if [ -n "$PLUGIN_DEBUG" ] && [ "$PLUGIN_DEBUG" != false ]
|
||||
then
|
||||
cat netlify.toml
|
||||
NETLIFY_DEPLOY_OPTIONS="${NETLIFY_DEPLOY_OPTIONS} --debug"
|
||||
fi
|
||||
|
||||
if [ -n "$PLUGIN_SITE" ]
|
||||
then
|
||||
NETLIFY_SITE="--auth $PLUGIN_TOKEN --site $PLUGIN_SITE"
|
||||
|
|
Loading…
Reference in New Issue