Skip to content

Commit 74b7d59

Browse files
committed
fix branch
1 parent 8754d31 commit 74b7d59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bindings/Env.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ external dev: bool = "import.meta.env.DEV"
44
// Cloudflare deployment URL
55
external deployment_url: option<string> = "import.meta.env.DEPLOYMENT_URL"
66

7-
// The current github branch
8-
external github_branch: option<string> = "import.meta.env.GITHUB_BRANCH"
7+
// The current github branch being used for cloudflare pages
8+
external github_branch: option<string> = "import.meta.env.CF_PAGES_BRANCH"
99
let github_branch = switch github_branch {
1010
| Some(branch) => branch
1111
| None => "master"

0 commit comments

Comments
 (0)