From 383adb07903449218d9b617b77acf8bfed7c5e99 Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 30 Sep 2025 14:30:55 +0200 Subject: [PATCH] Pushing to correct branch --- .woodpecker/build-deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/build-deploy.yaml b/.woodpecker/build-deploy.yaml index a27124e..3a09587 100644 --- a/.woodpecker/build-deploy.yaml +++ b/.woodpecker/build-deploy.yaml @@ -39,7 +39,7 @@ steps: - ls # Crée une branche orpheline (vierge, sans historique ni fichiers) - - git checkout "$PDF_BRANCH" + - git checkout --orphan "$PDF_BRANCH" - git reset --hard @@ -57,7 +57,7 @@ steps: 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 + git push origin "$PDF_BRANCH" -o ci.skip environment: SSH_KEY: from_secret: SSH-KEY