We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28de276 commit 1e7af2aCopy full SHA for 1e7af2a
1 file changed
server.js
@@ -19,7 +19,7 @@ if (!module.parent) {
19
// If in a deployed environment, warm the server at the start
20
if (process.env.NODE_ENV === 'production') {
21
// If in a true production environment, wait for the cache to be fully warmed.
22
- if (process.env.HEROKU_PRODUCTION_APP) {
+ if (process.env.HEROKU_PRODUCTION_APP || process.env.GITHUB_ACTIONS) {
23
await warmServer()
24
} else {
25
// If not in a true production environment, don't wait for the cache to be fully warmed.
0 commit comments