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