This is an automated email from the ASF dual-hosted git repository.
jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 2f19e1d68c5 fix
2f19e1d68c5 is described below
commit 2f19e1d68c5bd811e9002964b98f93b688697516
Author: jiafeng.zhang <[email protected]>
AuthorDate: Wed Aug 17 16:47:55 2022 +0800
fix
---
.github/workflows/cron-deploy-website.yml | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/.github/workflows/cron-deploy-website.yml
b/.github/workflows/cron-deploy-website.yml
index 4582abc98d2..17ee1e915a6 100644
--- a/.github/workflows/cron-deploy-website.yml
+++ b/.github/workflows/cron-deploy-website.yml
@@ -19,6 +19,7 @@ jobs:
- name: Build
run: |
git clone https://github.com/apache/doris.git
+ export BRANCH=master
mkdir versioned_docs/version-dev/
cp -R doris/docs/en/docs/* versioned_docs/version-dev/
cp -R doris/docs/sidebars.json
versioned_sidebars/version-dev-sidebars.json
@@ -54,15 +55,3 @@ jobs:
git add .
git commit -m "Automated deployment with doris master"
git push --verbose "https://${{ secrets.GITHUB_TOKEN
}}@github.com/apache/doris-website.git" asf-site:asf-site
- - name: Deploy Branch
- if: ${{ github.event.inputs.branch != 'master' }}
- uses: peaceiris/actions-gh-pages@v3
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_branch: asf-site
- publish_dir: ./build
- destination_dir: ${{ github.event.inputs.branch }}
- user_name: 'github-actions[bot]'
- user_email: 'github-actions[bot]@users.noreply.github.com'
- commit_message: 'Automated deployment with doris branch ${{
github.event.inputs.branch }}@${{ env.DORIS_COMMIT }}'
-
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]