Merge pull request #1 from jolheiser/master

Update CLI
pull/2/head
techknowlogick 2020-01-28 19:46:02 -05:00 committed by GitHub
commit b14f2c6578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -31,9 +31,9 @@ fi
if [ -n "$PLUGIN_SITE_ID" ] && [ -n "$PLUGIN_TOKEN" ] if [ -n "$PLUGIN_SITE_ID" ] && [ -n "$PLUGIN_TOKEN" ]
then then
NETLIFY_SITE="-t $PLUGIN_TOKEN -s $PLUGIN_SITE_ID" NETLIFY_SITE="-a $PLUGIN_TOKEN -s $PLUGIN_SITE_ID"
echo "> Deploying on Netlify…" && echo "> Deploying on Netlify…" &&
netlify $NETLIFY_SITE deploy $NETLIFY_DEPLOY_OPTIONS; netlify deploy $NETLIFY_SITE $NETLIFY_DEPLOY_OPTIONS;
else else
echo "> Error! site_id and token are required" echo "> Error! site_id and token are required"
exit 1 exit 1