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 8754d31 commit 74b7d59Copy full SHA for 74b7d59
src/bindings/Env.res
@@ -4,8 +4,8 @@ external dev: bool = "import.meta.env.DEV"
4
// Cloudflare deployment URL
5
external deployment_url: option<string> = "import.meta.env.DEPLOYMENT_URL"
6
7
-// The current github branch
8
-external github_branch: option<string> = "import.meta.env.GITHUB_BRANCH"
+// The current github branch being used for cloudflare pages
+external github_branch: option<string> = "import.meta.env.CF_PAGES_BRANCH"
9
let github_branch = switch github_branch {
10
| Some(branch) => branch
11
| None => "master"
0 commit comments