From 6fb9690ecd4103ed0e784b88a9038c772feb2308 Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Mon, 28 Jun 2021 16:15:03 +0200 Subject: [PATCH 1/2] stdlib/netlify: bump netlify-cli version Signed-off-by: Sam Alba --- stdlib/netlify/netlify.cue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 745d1084be5ed4cce6dbb445eb2fe6b67ca5aa3c Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Mon, 28 Jun 2021 16:22:29 +0200 Subject: [PATCH 2/2] stdlib/netlify: added support for netlify build Signed-off-by: Sam Alba --- stdlib/netlify/netlify.sh.cue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 - """#