diff --git a/stdlib/netlify/netlify.cue b/stdlib/netlify/netlify.cue index 482d43e5..7abeff03 100644 --- a/stdlib/netlify/netlify.cue +++ b/stdlib/netlify/netlify.cue @@ -68,7 +68,7 @@ import ( } } setup: [ - "yarn global add netlify-cli@2.47.0", + "yarn global add netlify-cli@3.38.10", ] // set in netlify.sh.cue // FIXME: use embedding once cue supports it diff --git a/stdlib/netlify/netlify.sh.cue b/stdlib/netlify/netlify.sh.cue index 932bdc67..46306187 100644 --- a/stdlib/netlify/netlify.sh.cue +++ b/stdlib/netlify/netlify.sh.cue @@ -33,6 +33,10 @@ package netlify exit 1 fi fi + + netlify link --id "$site_id" + netlify build + netlify deploy \ --dir="$(pwd)" \ --site="$site_id" \ @@ -48,5 +52,4 @@ package netlify printf "$url" > /netlify/url printf "$deployUrl" > /netlify/deployUrl printf "$logsUrl" > /netlify/logsUrl - """#