From 678277497392b04768dab692357540c7d9df8f5f Mon Sep 17 00:00:00 2001 From: Nikhil M Warrier Date: Sat, 14 Mar 2026 12:24:45 +0530 Subject: I hate yaml --- .woodpecker/deploy.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.woodpecker') diff --git a/.woodpecker/deploy.yaml b/.woodpecker/deploy.yaml index 8c02c23..1d24004 100644 --- a/.woodpecker/deploy.yaml +++ b/.woodpecker/deploy.yaml @@ -24,6 +24,8 @@ steps: # 5. Commit and push - cd ../pages - git add . + - git add . # The '|| echo' prevents the pipeline from failing if there are no changes to commit - - git diff-index --quiet HEAD || git commit -m "chore: deploy site update - $(date -u +'%Y-%m-%dT%H:%M:%SZ')" + - | + git diff-index --quiet HEAD || git commit -m "chore: deploy site update - $(date -u +'%Y-%m-%dT%H:%M:%SZ')" - git push https://$CODEBERG_TOKEN@codeberg.org/fosscet/pages.git pages -- cgit v1.2.3