stdlib/netlify: added support for netlify build

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba 2021-06-28 16:22:29 +02:00
parent 6fb9690ecd
commit 745d1084be

View File

@ -33,6 +33,10 @@ package netlify
exit 1 exit 1
fi fi
fi fi
netlify link --id "$site_id"
netlify build
netlify deploy \ netlify deploy \
--dir="$(pwd)" \ --dir="$(pwd)" \
--site="$site_id" \ --site="$site_id" \
@ -48,5 +52,4 @@ package netlify
printf "$url" > /netlify/url printf "$url" > /netlify/url
printf "$deployUrl" > /netlify/deployUrl printf "$deployUrl" > /netlify/deployUrl
printf "$logsUrl" > /netlify/logsUrl printf "$logsUrl" > /netlify/logsUrl
"""# """#