Interverting moves
This commit is contained in:
parent
8c0e38591e
commit
f7a44f3b1b
1 changed files with 4 additions and 3 deletions
|
|
@ -33,9 +33,6 @@ steps:
|
||||||
- git config --global user.email "${CI_COMMIT_AUTHOR_EMAIL:-CI_COMMIT_AUTHOR_EMAIL}"
|
- git config --global user.email "${CI_COMMIT_AUTHOR_EMAIL:-CI_COMMIT_AUTHOR_EMAIL}"
|
||||||
- git config --global user.name "${CI_COMMIT_AUTHOR:-CI Bot}"
|
- git config --global user.name "${CI_COMMIT_AUTHOR:-CI Bot}"
|
||||||
|
|
||||||
# Move the generated PDF to the repository directory
|
|
||||||
- mv cv.pdf repo/
|
|
||||||
|
|
||||||
# Go to the repository directory
|
# Go to the repository directory
|
||||||
- cd repo
|
- cd repo
|
||||||
- pwd
|
- pwd
|
||||||
|
|
@ -45,6 +42,10 @@ steps:
|
||||||
- git checkout --orphan "$PDF_BRANCH"
|
- git checkout --orphan "$PDF_BRANCH"
|
||||||
- git reset --hard
|
- git reset --hard
|
||||||
|
|
||||||
|
|
||||||
|
# Move the generated PDF to the repository directory
|
||||||
|
- mv ../cv.pdf ./
|
||||||
|
|
||||||
# Add all generated files to Git
|
# Add all generated files to Git
|
||||||
- git add -f cv.pdf
|
- git add -f cv.pdf
|
||||||
- git status
|
- git status
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue