From c149c4ed7399d43d4797929717399b2fe6b7e0b3 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 14 Oct 2019 10:02:27 -0400 Subject: [PATCH] [CI] Copy doc archive to cantera.org In order to generate links to pages in the development docs, the cantera-website build process needs a local copy of the current dev docs, which this provides in a format which can be easily downloaded. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index ffec2afc2..9b5a47d71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,6 +56,9 @@ script: | scons samples scons build sphinx_docs=y doxygen_docs=y sphinx_cmd="/usr/bin/python3 `which sphinx-build`" if [[ "${TRAVIS_PULL_REQUEST}" == "false" ]] && [[ "${TRAVIS_BRANCH}" == "master" ]] && [[ "${TRAVIS_REPO_SLUG}" == "Cantera/cantera" ]]; then + cd build + find docs -type f | grep -v /xml/ | grep -v .map$ | grep -v .md5$ | tar cjvf docs/dev-docs.tar.bz2 --files-from - >/dev/null + cd - openssl aes-256-cbc -k "${ctdeploy_pass}" -in ./doc/ctdeploy_key.enc -out ./doc/ctdeploy_key -d chmod 0600 ./doc/ctdeploy_key RSYNC_OPTIONS=(