diff options
| author | Nikhil M Warrier <nikhilmw.dev@gmail.com> | 2026-03-14 12:24:45 +0530 |
|---|---|---|
| committer | Nikhil M Warrier <nikhilmw.dev@gmail.com> | 2026-03-14 12:24:45 +0530 |
| commit | 678277497392b04768dab692357540c7d9df8f5f (patch) | |
| tree | 9c3dd03c932266659e6dd1a085f870adf3ec03f2 | |
| parent | ed9d073077667cdf9578737efb2396c7585cbecf (diff) | |
I hate yaml
| -rw-r--r-- | .woodpecker/deploy.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
