Skip to content

Commit 5481de4

Browse files
committed
Do not sync lunaria config on Github Actions, since it tries to fetch repo in all workflows
1 parent 4d7d34b commit 5481de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export default defineConfig({
108108
exclude: ["404"],
109109
}),
110110
lunaria({
111-
sync: true,
111+
sync: !process.env.GITHUB_RUN_ID, // Do not sync lunaria config on CI
112112
route: "/i18n-status",
113113
}),
114114
...(hasAlgoliaConfig

0 commit comments

Comments
 (0)