From 973d5048877d57b975d276fc2a0ac8575963c611 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Sat, 12 Nov 2022 11:32:20 -0300 Subject: [PATCH] Fix bug --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 119fb4e..f578743 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -8,7 +8,7 @@ pipeline: - git restore --source experiment -- install.sh - mv install.sh index.html - rm -f install.sh - - [ ! -z "$(git status --porcelain)" ] || exit 0 + - if [ -z "$(git status --porcelain)" ]; then exit 0; fi - git add index.html - git commit -m "Add changes from master branch" - git push