Skip to content

Commit e404775

Browse files
committed
Fix environment variable mixup
1 parent fe0368b commit e404775

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/astro.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import starlight from '@astrojs/starlight';
44
import mtasaStartlightThemePlugin from 'starlight-theme-mtasa'
55

66
const isDeploy = process.env.GITHUB_ACTIONS === 'true';
7-
const ownerName = isDeploy ? process.env.GITHUB_REPOSITORY_OWNER : undefined;
8-
const siteName = isDeploy ? `https://${process.env.GITHUB_REPOSITORY_NAME}.github.io` : undefined;
7+
const ownerName = isDeploy ? process.env.GITHUB_REPOSITORY_NAME : undefined;
8+
const siteName = isDeploy ? `https://${process.env. GITHUB_REPOSITORY_OWNER}.github.io` : undefined;
99

1010
// https://astro.build/config
1111
export default defineConfig({

0 commit comments

Comments
 (0)