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