mirror of
https://gh-proxy.ooowl.net/https://github.com/mtrlps-community/lps-community-guide.git
synced 2026-11-22 05:08:55 +08:00
Update railpack.json
This commit is contained in:
1 parent
8546081b13
commit
0585b86000
1 file changed
+6
-12
+6
-12
@@ -1,25 +1,19 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.railpack.com",
|
"$schema": "https://schema.railpack.com",
|
||||||
"packages": {
|
"packages": { "python": "3.11" },
|
||||||
"python": "3.11"
|
|
||||||
},
|
|
||||||
"steps": {
|
"steps": {
|
||||||
"install": {
|
"build-site": {
|
||||||
|
"inputs": [{ "step": "packages:mise" }],
|
||||||
"commands": [
|
"commands": [
|
||||||
"pip install mkdocs-material mkdocs-git-revision-date-localized-plugin"
|
"pip install mkdocs-material mkdocs-git-revision-date-localized-plugin",
|
||||||
|
"mkdocs build"
|
||||||
]
|
]
|
||||||
},
|
|
||||||
"build": {
|
|
||||||
"inputs": [
|
|
||||||
{ "step": "install" }
|
|
||||||
],
|
|
||||||
"commands": ["mkdocs build"]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"deploy": {
|
"deploy": {
|
||||||
"startCommand": "nginx -g \"daemon off;\"",
|
"startCommand": "nginx -g \"daemon off;\"",
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{ "step": "build", "include": ["site"] }
|
{ "step": "build-site", "include": ["site"] }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user