From a7005f8f344b63f64393aafa6377c2a5ec3c3f36 Mon Sep 17 00:00:00 2001 From: Kevin Putnam Date: Wed, 28 Aug 2019 14:18:00 -0700 Subject: [PATCH] Part of staged move to making language content static between tagged language releases. * creates a release consisting of a zipped archive of the html for Chinese language Stage 2 will build language content but only deploy from the zipped archive. Signed-off-by: Kevin Putnam --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 5eb1302b6..ca723f04c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,7 @@ script: before_deploy: - make linkcheck + - tar -zcvf clearlinux-docs-zh-CN.tar.gz -C source/_build/html/zh_CN . deploy: - provider: pages @@ -31,6 +32,13 @@ deploy: on: branch: development local_dir: source/_build/html/ + - provider: releases + skip_cleanup: true + api_key: $GITHUB_TOKEN + file: clearlinux-docs-zh-CN.tar.gz + on: + tags: true + after_deploy: - wget $PUBLISH_URL