📦 deps(thirdparty): update snapshots
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { defineConfig } from "astro/config";
|
||||
|
||||
const repositoryName = process.env.GITHUB_REPOSITORY?.split("/")[1];
|
||||
const isGitHubPages = Boolean(process.env.GITHUB_ACTIONS && repositoryName);
|
||||
|
||||
export default defineConfig({
|
||||
site: process.env.SITE_URL ?? "http://localhost:4321",
|
||||
base: isGitHubPages ? `/${repositoryName}` : "/",
|
||||
output: "static",
|
||||
trailingSlash: "never",
|
||||
});
|
||||
Reference in New Issue
Block a user