deploy to build repo
This commit is contained in:
parent
a2af0344b5
commit
a81a83c2d9
1 changed files with 14 additions and 0 deletions
14
.travis.yml
14
.travis.yml
|
@ -19,6 +19,7 @@ script:
|
||||||
- cd build
|
- cd build
|
||||||
- zip -r LatexPackages.zip LatexPackages
|
- zip -r LatexPackages.zip LatexPackages
|
||||||
- tree -H '.' -I "index.html" -D --charset utf-8 -T "LatexPackages" > index.html
|
- tree -H '.' -I "index.html" -D --charset utf-8 -T "LatexPackages" > index.html
|
||||||
|
- GIT_BRANCH=$(python3 -c "import git; print(git.Repo().active_branch.name)")
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
- provider: pages
|
- provider: pages
|
||||||
|
@ -34,3 +35,16 @@ deploy:
|
||||||
file: $TRAVIS_BUILD_DIR/build/LatexPackages.zip
|
file: $TRAVIS_BUILD_DIR/build/LatexPackages.zip
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
|
- provider: pages
|
||||||
|
skip-cleanup: true
|
||||||
|
github-token: $GITHUB_TOKEN
|
||||||
|
local-dir: build/LatexPackages
|
||||||
|
repo: kesslermaximilian/LatexPackagesBuild
|
||||||
|
commiter_from_gh: true
|
||||||
|
allow_empty_commit: true
|
||||||
|
keep-history: true
|
||||||
|
target_branch: $GIT_BRANCH
|
||||||
|
on:
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- /.*/
|
||||||
|
|
Loading…
Reference in a new issue