You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,24 @@ That file forces Railway to treat the site as a Nitro-backed app instead of a st
52
52
3. Set `VITE_STACKFOX_DASHBOARD_URL` to the public dashboard URL.
53
53
4. Deploy and bind the production domain after the healthcheck passes.
54
54
55
+
### Manual production deploys from GitHub Actions
56
+
57
+
If you want to stop Railway from deploying every commit, use `.github/workflows/deploy-production.yml` as the production deploy entrypoint for this repo.
58
+
59
+
Required GitHub repository secret:
60
+
61
+
-`RAILWAY_TOKEN`: a Railway project token scoped to the production environment for the `stackfox.dev` Railway project
62
+
63
+
Required GitHub repository variables:
64
+
65
+
-`RAILWAY_PROD_PROJECT_ID`: the Railway project ID for `stackfox.dev`
66
+
-`RAILWAY_PROD_ENVIRONMENT`: the Railway environment name, usually `production`
67
+
-`RAILWAY_PROD_SERVICE`: the Railway service ID or exact service name for the site
68
+
69
+
Recommended GitHub environment:
70
+
71
+
-`production-site`
72
+
55
73
## Contributing
56
74
57
75
Contributions to the StackFox site are welcome! If you have suggestions for improvements, please open an issue or submit a pull request.
0 commit comments