mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-13 14:55:51 +00:00
Add identifiers
This commit is contained in:
parent
c36c2abd80
commit
3ff3d78469
1 changed files with 3 additions and 2 deletions
|
|
@ -37,11 +37,12 @@ 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 config --global user.name "$GITLAB_USER_NAME"
|
||||
- git config --global user.email "$GITLAB_USER_EMAIL"
|
||||
- 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 origin publish-html
|
||||
- git push https://gitlab-ci-token:$ACCESS_TOKEN@gitlab.tudelft.nl/$CI_PROJECT_PATH.git publish-html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue