mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-08-26 18:36:02 +00:00
Merge pull request #772 from intelkevinputnam/kp-deploy-tagged-zh-CN_release_only
Deploy simplified Chinese from tagged release only
This commit is contained in:
@@ -15,7 +15,12 @@ script:
|
||||
|
||||
before_deploy:
|
||||
- make linkcheck
|
||||
# only deploy the latest tagged release of Simplified Chinese docs
|
||||
- tar -zcvf clearlinux-docs-zh-CN.tar.gz -C source/_build/html/zh_CN .
|
||||
- wget https://github.com/clearlinux/clear-linux-documentation/releases/latest/download/clearlinux-docs-zh-CN.tar.gz
|
||||
- mkdir source/_build/html/zh_CN
|
||||
# compress current build of Simplified Chinese in case of tagged build
|
||||
- tar xvzf clearlinux-docs-zh-CN.tar.gz -C source/_build/zh_CN
|
||||
|
||||
deploy:
|
||||
- provider: pages
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ clean:
|
||||
|
||||
htmlall:
|
||||
$(SPHINXBUILD) -b html $(ERROROPTS) $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
||||
$(SPHINXBUILD) -b html $(ERROROPTS) -D language='zh_CN' $(ALLSPHINXOPTS) $(BUILDDIR)/html/zh_CN
|
||||
$(SPHINXBUILD) -b html $(ERROROPTS) -D language='zh_CN' $(ALLSPHINXOPTS) $(BUILDDIR)/zh_CN
|
||||
|
||||
htmlde:
|
||||
$(SPHINXBUILD) -b html -D language='de' $(ALLSPHINXOPTS) $(BUILDDIR)/html/de
|
||||
|
||||
Reference in New Issue
Block a user