Add debug option
continuous-integration/drone/push Build is passing Details

main
mat ess 2022-10-21 00:51:58 -04:00
parent 56a6269975
commit 0b0dfa9f44
1 changed files with 6 additions and 0 deletions

View File

@ -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"