From 218ba2bbc41c3e5fc3eb1b6984969149e91cf3a8 Mon Sep 17 00:00:00 2001 From: David Eisinger Date: Mon, 18 Nov 2024 14:40:27 -0500 Subject: [PATCH] remove dedicated 'check-branch' step --- .build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.build.yml b/.build.yml index 558c243..55385fc 100644 --- a/.build.yml +++ b/.build.yml @@ -32,11 +32,10 @@ tasks: source bin/get-last-commit.sh DITHER_SERVER=http://localhost:4567 hugo --minify find public -name "*.enc" -type f -delete - - check-branch: | + - deploy: | if [ "$(git rev-parse main)" != "$(git rev-parse HEAD)" ]; then \ complete-build; \ fi - - deploy: | set +x export SERVER_IP=$(cat ~/server_ip.txt) rsync \