mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-12 22:35:51 +00:00
Add remote origin
This commit is contained in:
parent
ee1088c088
commit
c36c2abd80
1 changed files with 2 additions and 1 deletions
|
|
@ -37,10 +37,11 @@ push-html:
|
|||
before_script:
|
||||
- apt-get update -y
|
||||
- apt-get install rsync -y
|
||||
- git remote add origin https://gitlab-ci-token:$ACCESS_TOKEN@gitlab.tudelft.nl/$CI_PROJECT_PATH.git
|
||||
- git fetch origin publish-html
|
||||
- git checkout publish-html
|
||||
script:
|
||||
- rsync -av --delete book/_build/html/* ./.
|
||||
- git add --all -- ':!book/*' ':!.cache/*'
|
||||
- git commit -m "$CI_COMMIT_MESSAGE"
|
||||
- git push https://gitlab-ci-token:$ACCESS_TOKEN@gitlab.tudelft.nl/$CI_PROJECT_PATH.git origin publish-html
|
||||
- git push origin publish-html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue