Pushing to correct branch
This commit is contained in:
parent
c6546c982a
commit
383adb0790
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue