Skip to content

Commit af63d8a

Browse files
committed
chore: add docs Railway config for separate deploy
1 parent e5d9d08 commit af63d8a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/railway.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[build]
2+
builder = "railpack"
3+
buildCommand = "corepack enable && cd docs && pnpm install --frozen-lockfile && pnpm build"
4+
5+
[deploy]
6+
startCommand = "cd docs && pnpm start"
7+
healthcheckPath = "/"
8+
healthcheckTimeout = 300
9+
restartPolicyType = "on_failure"
10+
restartPolicyMaxRetries = 3

0 commit comments

Comments
 (0)