remove dedicated 'check-branch' step

This commit is contained in:
David Eisinger
2024-11-18 14:40:27 -05:00
parent cc99d791bd
commit 218ba2bbc4

View File

@@ -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 \