Updated ci check
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Shahan Nedadahandeh 2022-06-01 23:14:30 -07:00
parent a3bd8da8cc
commit be527c382e
Signed by: snedadah
GPG Key ID: 8638C7F917385B01
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ export async function optimizeImages() {
if (alreadyOptimizedImageHashes.has(fileHash)) {
console.log(`Skipping ${imagePath}`);
return;
} else if (process.env.CI === "true") {
} else if (process.env.CI) {
// Need to optimize image on production, not ideal since image wont be cached for later deploys
console.warn(
`New image found to optimize: ${imagePath} Please run npm run build:images locally!`