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 6a2ae55 commit 0219f06Copy full SHA for 0219f06
.deployment/cd.sh
@@ -1,6 +1,10 @@
1
#!/bin/sh
2
3
-git switch master || git switch -c master
+if [[ -z "${CF_PAGES_BRANCH}" ]]; then
4
+ git switch master || git switch -c unknown-branch
5
+else
6
+ git switch $CF_PAGES_BRANCH || git switch -c $CF_PAGES_BRANCH
7
+fi
8
9
echo 🔧 Install Rust
10
curl https://sh.rustup.rs -sSf | sh -s -- -y
0 commit comments