mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-23 20:03:31 +03:00
Update lamdera setup in netlify command.
This commit is contained in:
parent
53b6bf6570
commit
f8075363f9
@ -2,7 +2,7 @@
|
||||
base = "examples/docs/"
|
||||
functions = "functions/"
|
||||
publish = "dist/"
|
||||
command = "curl https://static.lamdera.com/bin/linux/lamdera -o /usr/local/bin/lamdera && chmod a+x /usr/local/bin/lamdera && export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && (cd ../../ && npm install --no-optional && npx --no-install elm-tooling install) && npm install --no-optional && npm run build && cp ./elm-stuff/elm-pages/elm.js functions/render/elm-pages-cli.js && (cd functions/process-url && npm i)"
|
||||
command = "mkdir /opt/build/repo/bin && export PATH=\"/opt/build/repo/bin:$PATH\" && echo $PATH && curl https://static.lamdera.com/bin/linux/lamdera -o /opt/build/repo/bin/lamdera && chmod a+x /opt/build/repo/bin/lamdera && export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && (cd ../../ && npm install --no-optional && npx --no-install elm-tooling install) && npm install --no-optional && npm run build && cp ./elm-stuff/elm-pages/elm.js functions/render/elm-pages-cli.js && (cd functions/process-url && npm i)"
|
||||
|
||||
[[redirects]]
|
||||
from = "/screenshot/*"
|
||||
|
Loading…
Reference in New Issue
Block a user