Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit a7005f8

Browse files
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 <[email protected]>
1 parent bed3874 commit a7005f8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ script:
1515

1616
before_deploy:
1717
- make linkcheck
18+
- tar -zcvf clearlinux-docs-zh-CN.tar.gz -C source/_build/html/zh_CN .
1819

1920
deploy:
2021
- provider: pages
@@ -31,6 +32,13 @@ deploy:
3132
on:
3233
branch: development
3334
local_dir: source/_build/html/
35+
- provider: releases
36+
skip_cleanup: true
37+
api_key: $GITHUB_TOKEN
38+
file: clearlinux-docs-zh-CN.tar.gz
39+
on:
40+
tags: true
41+
3442

3543
after_deploy:
3644
- wget $PUBLISH_URL

0 commit comments

Comments
 (0)