Skip to content

Commit 949f200

Browse files
author
fabien.menager
committed
Fix header
1 parent b33acde commit 949f200

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/static.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Deploy site to Pages
22

3-
env:
4-
NODE_ENV: production
5-
63
on:
74
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
85
# using the `master` branch as the default branch.

docs/.vitepress/config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const umamiScript: HeadConfig = ["script", {
88

99
const baseHeaders: HeadConfig[] = [];
1010

11-
const headers = process.env.NODE_ENV === "production" ?
11+
const headers = process.env.GITHUB_PAGES === "true" ?
1212
[...baseHeaders, umamiScript] :
1313
baseHeaders;
1414

0 commit comments

Comments
 (0)