All checks were successful
Build and test project / build-and-test (push) Successful in 1m25s
17 lines
466 B
TOML
17 lines
466 B
TOML
providers = ["node"]
|
|
|
|
[phases.setup]
|
|
nixPkgs = ["git", "curl", "zip", "gnutar", "nginx", "nodejs", "gettext"]
|
|
paths = ["/usr/local/go/bin"]
|
|
|
|
[phases.build]
|
|
cmds = [
|
|
"cd kobopatch-wasm && bash setup.sh",
|
|
"cd kobopatch-wasm && bash build.sh",
|
|
"cd nickelmenu && bash setup.sh",
|
|
"cd web && npm install && npm run build",
|
|
]
|
|
|
|
[start]
|
|
cmd = "PORT=8080 envsubst '${PORT}' < nginx.conf.template > /tmp/nginx.conf && nginx -c /tmp/nginx.conf -g 'daemon off;'"
|