Skip to content

Commit a253762

Browse files
committed
fix automatic deployment of docs to github
1 parent 0780f86 commit a253762

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,9 @@ script:
368368
- |
369369
if [[ "${DEPLOY}" == "true" ]]
370370
then
371-
cmake --build "${BUILD_PATH}" --target install || exit $?
372-
tree "${INSTALL_PATH}" || exit $?
373-
if [[ "${TRAVIS_BRANCH}" == "master" && "${TRAVIS_PULL_REQUEST}" == "false" ]]
371+
cmake --build "${BUILD_PATH}" --target doc || exit $?
372+
cmake --build "${BUILD_PATH}" --target install && tree "${INSTALL_PATH}" || exit $?
373+
if [[ "${TRAVIS_OS_NAME}" == "linux" && "${TRAVIS_BRANCH}" == "master" && "${TRAVIS_PULL_REQUEST}" == "false" ]]
374374
then
375375
publish "${INSTALL_PATH}/share/Metal/doc" gh-pages || exit $?
376376
publish "${INSTALL_PATH}/include/" standalone || exit $?

0 commit comments

Comments
 (0)