Pushing to correct branch
Some checks failed
ci/woodpecker/push/age-check Pipeline was successful
ci/woodpecker/push/build-deploy Pipeline failed

This commit is contained in:
Louis 2025-09-30 14:30:55 +02:00
parent c6546c982a
commit 383adb0790

View file

@ -39,7 +39,7 @@ steps:
- ls - ls
# Crée une branche orpheline (vierge, sans historique ni fichiers) # Crée une branche orpheline (vierge, sans historique ni fichiers)
- git checkout "$PDF_BRANCH" - git checkout --orphan "$PDF_BRANCH"
- git reset --hard - git reset --hard
@ -57,7 +57,7 @@ steps:
git commit -m "Built pdf for ${CI_COMMIT_SHA:0:8} [CI SKIP]" 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 # Update the repository and make sure to skip the pipeline create for this commit
git push origin "${CI_REPO_DEFAULT_BRANCH}" -o ci.skip git push origin "$PDF_BRANCH" -o ci.skip
environment: environment:
SSH_KEY: SSH_KEY:
from_secret: SSH-KEY from_secret: SSH-KEY