You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/12/19 07:29:04 UTC
[dolphinscheduler-website] branch master updated: feat: python docs rsync all files in expect .doctrees (#863)
This is an automated email from the ASF dual-hosted git repository.
zhongjiajie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git
The following commit(s) were added to refs/heads/master by this push:
new 65c3a509d3 feat: python docs rsync all files in expect .doctrees (#863)
65c3a509d3 is described below
commit 65c3a509d3b988b71ba6faa21ecd50cc54c18baa
Author: Jay Chung <zh...@gmail.com>
AuthorDate: Mon Dec 19 15:28:59 2022 +0800
feat: python docs rsync all files in expect .doctrees (#863)
---
.github/workflows/website.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml
index 8a7ba2e1eb..a88108cd66 100644
--- a/.github/workflows/website.yml
+++ b/.github/workflows/website.yml
@@ -38,10 +38,11 @@ jobs:
python-version: 3.7
- name: Build Python Multiple Version Document
working-directory: ${{ env.PYDS_HOME }}
+ # rsync all files in directory docs/build/html/versions expect .doctrees have sensitive data, so we need to delete it
run: |
python -m pip install --upgrade ${{ env.DEPENDENCES }}
python -m tox -vv -e doc-build-multi
- cp -r docs/build/html/versions ${GITHUB_WORKSPACE}/build/python
+ rsync -av --progress --exclude .doctrees docs/build/html/versions ${GITHUB_WORKSPACE}/build/python
- name: Deploy
uses: peaceiris/actions-gh-pages@v3