diff options
Diffstat (limited to '.woodpecker/deploy.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 |
