site: deploy without the Netlify CLI's native build scripts
sharp and unix-dgram fail to build here (Node 26), which made every `just deploy` exit 1 silently; deploying uses neither. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T3gXMVt7XJPi6ens1or9Dj
This commit is contained in:
1 parent
d5c9522ad1
commit
c53a01e163
1 file changed
+4
-2
@@ -2,8 +2,10 @@
|
||||
|
||||
set shell := ["bash", "-cu"]
|
||||
|
||||
# The Netlify CLI, fetched on demand.
|
||||
netlify := "npx --yes netlify-cli@27"
|
||||
# The Netlify CLI, fetched on demand. Its packages' native build scripts
|
||||
# (sharp, unix-dgram) fail on this machine and deploying needs neither, so
|
||||
# they are skipped.
|
||||
netlify := "npm_config_ignore_scripts=true npx --yes netlify-cli@27"
|
||||
|
||||
# List recipes
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user