From 6d82672a9531cc6feae8fc8a123bd109b90bf23e Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Thu, 16 Dec 2021 03:05:10 -0800 Subject: [PATCH] Make deployment switch branch from HEAD to master --- .deployment/cd.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.deployment/cd.sh b/.deployment/cd.sh index be670e39..6a58121a 100644 --- a/.deployment/cd.sh +++ b/.deployment/cd.sh @@ -1,5 +1,7 @@ #!/bin/sh +git switch master || git switch -c master + echo 🔧 Install Rust curl https://sh.rustup.rs -sSf | sh -s -- -y export PATH=$PATH:/opt/buildhome/.cargo/bin