We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5332de0 commit 87cd9c1Copy full SHA for 87cd9c1
docs/astro.config.mjs
@@ -4,7 +4,7 @@ import starlight from '@astrojs/starlight';
4
import mtasaStarlightThemePlugin from 'starlight-theme-mtasa'
5
6
const isDeploy = process.env.GITHUB_ACTIONS === 'true';
7
-const repositoryName = (isDeploy && process.env.GITHUB_REPOSITORY) ? (process.env.GITHUB_REPOSITORY).split('/')[0] : undefined;
+const repositoryName = (isDeploy && process.env.GITHUB_REPOSITORY) ? (process.env.GITHUB_REPOSITORY).split('/')[1] : undefined;
8
const siteBaseUrl = (isDeploy && process.env.GITHUB_REPOSITORY_OWNER) ? `https://${process.env.GITHUB_REPOSITORY_OWNER}.github.io` : undefined;
9
10
// https://astro.build/config
0 commit comments