From a5011edbe2272a5b97d0b31ff76d2697fb174cbc Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 2 Sep 2024 13:30:25 -0700 Subject: [PATCH] Create stacks folder --- homelab/stacks/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homelab/stacks/deploy.sh b/homelab/stacks/deploy.sh index 4f5556b1..96bd83ea 100644 --- a/homelab/stacks/deploy.sh +++ b/homelab/stacks/deploy.sh @@ -3,7 +3,7 @@ # curl https://gitea.jafner.tools/Jafner/Jafner.net/raw/branch/main/homelab/stacks/deploy.sh | bash -s STACK=$1 -mkdir -p /tmp/stack/$STACK +mkdir -p /tmp/stack/$STACK $HOME/stacks/$STACK git clone -n --depth=1 --filter=tree:0 https://gitea.jafner.tools/Jafner/Jafner.net.git /tmp/stack/$STACK && cd /tmp/stack/$STACK git sparse-checkout set --no-cone homelab/stacks/$STACK && git checkout mv -f homelab/stacks/$STACK/* $HOME/stacks/$STACK/