mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 12:54:25 +02:00
Travis CI deploy hack
This commit is contained in:
@@ -26,11 +26,16 @@ script:
|
|||||||
- chmod +x .travis/run.sh
|
- chmod +x .travis/run.sh
|
||||||
- ./.travis/run.sh
|
- ./.travis/run.sh
|
||||||
|
|
||||||
|
before_deploy:
|
||||||
|
- conan search mp-units --raw
|
||||||
|
- conan search mp-units --raw 2>@1 | tail -n1 | xargs -I % conan info % --paths --package-filter mp-units*
|
||||||
|
- cp -r `conan search mp-units --raw 2>@1 | tail -n1 | xargs -I % conan info % --paths --package-filter mp-units* | sed -n 's/ package_folder: //p'`/share/doc/units/sphinx .
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: pages
|
provider: pages
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
|
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
|
||||||
keep_history: true
|
keep_history: true
|
||||||
local_dir: docs/sphinx
|
local_dir: sphinx
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
|
Reference in New Issue
Block a user