Merge pull request #746 from samalba/netlify-build

Netlify build
This commit is contained in:
Andrea Luzzardi 2021-06-30 12:23:01 +02:00 committed by GitHub
commit 65b4dea949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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
"""#