1
0
mirror of synced 2026-01-23 21:03:52 -05:00

repo sync

This commit is contained in:
Octomerger Bot
2020-12-11 12:41:24 -08:00
committed by GitHub

View File

@@ -19,7 +19,7 @@ if (!module.parent) {
// If in a deployed environment, warm the server at the start
if (process.env.NODE_ENV === 'production') {
// If in a true production environment, wait for the cache to be fully warmed.
if (process.env.HEROKU_PRODUCTION_APP) {
if (process.env.HEROKU_PRODUCTION_APP || process.env.GITHUB_ACTIONS) {
await warmServer()
} else {
// If not in a true production environment, don't wait for the cache to be fully warmed.