Skip to content

Commit 87cd9c1

Browse files
committed
Fix my own index mistake
1 parent 5332de0 commit 87cd9c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import starlight from '@astrojs/starlight';
44
import mtasaStarlightThemePlugin from 'starlight-theme-mtasa'
55

66
const isDeploy = process.env.GITHUB_ACTIONS === 'true';
7-
const repositoryName = (isDeploy && process.env.GITHUB_REPOSITORY) ? (process.env.GITHUB_REPOSITORY).split('/')[0] : undefined;
7+
const repositoryName = (isDeploy && process.env.GITHUB_REPOSITORY) ? (process.env.GITHUB_REPOSITORY).split('/')[1] : undefined;
88
const siteBaseUrl = (isDeploy && process.env.GITHUB_REPOSITORY_OWNER) ? `https://${process.env.GITHUB_REPOSITORY_OWNER}.github.io` : undefined;
99

1010
// https://astro.build/config

0 commit comments

Comments
 (0)