Always comitting
All checks were successful
ci/woodpecker/push/age-check Pipeline was successful
ci/woodpecker/push/build-deploy Pipeline was successful

This commit is contained in:
Louis 2025-09-30 14:27:19 +02:00
parent bdf91412f2
commit 72714c743e

View file

@ -50,19 +50,14 @@ steps:
- git add -f cv.pdf
- git status
- |-
# Check if we have modifications to commit
CHANGES=$(git status --porcelain | wc -l)
# Show the status of files that are about to be created, updated or deleted
git status
if [ "$CHANGES" -gt "0" ]; then
# Show the status of files that are about to be created, updated or deleted
git status
# Commit all changes
git commit -m "Built pdf for ${CI_COMMIT_SHA:0:8} [CI SKIP]"
# Commit all changes
git commit -m "Built pdf for ${CI_COMMIT_SHA:0:8} [CI SKIP]"
# Update the repository and make sure to skip the pipeline create for this commit
git push origin "${CI_REPO_DEFAULT_BRANCH}" -o ci.skip
fi
# Update the repository and make sure to skip the pipeline create for this commit
git push origin "${CI_REPO_DEFAULT_BRANCH}" -o ci.skip
environment:
SSH_KEY:
from_secret: SSH-KEY