Fix script
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
0a94ba4862
commit
f4179ef114
|
@ -1,4 +1,4 @@
|
||||||
# Drone-netlify
|
# drone-netlify
|
||||||
|
|
||||||
![Netlify logo](netlify.png?raw=true "netlify.com")
|
![Netlify logo](netlify.png?raw=true "netlify.com")
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ if [ -n "$PLUGIN_SITE" ]
|
||||||
then
|
then
|
||||||
NETLIFY_SITE="--auth $PLUGIN_TOKEN --site $PLUGIN_SITE"
|
NETLIFY_SITE="--auth $PLUGIN_TOKEN --site $PLUGIN_SITE"
|
||||||
echo "> Deploying on Netlify…" &&
|
echo "> Deploying on Netlify…" &&
|
||||||
netlify deploy "$NETLIFY_SITE" "$NETLIFY_DEPLOY_OPTIONS";
|
netlify deploy $NETLIFY_SITE $NETLIFY_DEPLOY_OPTIONS;
|
||||||
else
|
else
|
||||||
echo "> Error! site (site ID or name) and token are required"
|
echo "> Error! site (site ID or name) and token are required"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue