mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-10-03 23:48:28 +00:00
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 <kevin.putnam@intel.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user