alpha
Login
or
Join now
danielroe.dev
/
roe.dev
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/danielroe/roe.dev. This is the code and content for my personal website, built in Nuxt.
roe.dev
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix: rename env variable name
author
Daniel Roe
date
5 months ago
(Feb 20, 2026, 9:53 PM +0100)
commit
3cebce10
3cebce10e7d26900cc956b242bedec74591d98fd
parent
dc1d137f
dc1d137f1ed9292c9ae3a00e83d913cd5df74c20
+3
-2
1 changed file
Expand all
Collapse all
Unified
Split
modules
sync
index.ts
+3
-2
modules/sync/index.ts
View file
Reviewed
···
1
1
+
import process from 'node:process'
1
2
import { createClient } from '@sanity/client'
2
3
import { defineNuxtModule, useNuxt } from 'nuxt/kit'
3
4
···
22
23
if (nuxt.options.test || nuxt.options._prepare) return
23
24
24
25
const dryRun = process.argv.includes('--dry-run')
25
25
-
const isProductionDeploy = process.env.VERCEL_ENV === 'production'
26
26
+
const isProductionDeploy = process.env.NUXT_ENV_VERCEL_ENV === 'production'
26
27
27
28
if (!dryRun && !isProductionDeploy) {
28
28
-
console.info(`[sync] Skipped (VERCEL_ENV=${process.env.VERCEL_ENV || 'unset'})`)
29
29
+
console.info(`[sync] Skipped (VERCEL_ENV=${process.env.NUXT_ENV_VERCEL_ENV || 'unset'})`)
29
30
return
30
31
}
31
32