This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris-website.git
The following commit(s) were added to refs/heads/master by this push: new 5dded9f Add github action for test 5dded9f is described below commit 5dded9f441e33535345815b8d139645f47dd9f38 Author: morningman <chenmin...@baidu.com> AuthorDate: Mon Dec 13 13:54:05 2021 +0800 Add github action for test --- .github/workflows/website.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 06fffc5..d508f92 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -23,12 +23,12 @@ jobs: - name: Build run: | git clone https://github.com/apache/incubator-doris.git incubator-doris - cd incubator-doris/docs #&& npm install + git checkout ${{ github.event.inputs.branch }} + export DORIS_COMMIT=`git rev-parse HEAD` export BRANCH=${{ github.event.inputs.branch }} - mkdir -p .vuepress/dist/ - touch .vuepress/dist/a.txt - touch .vuepress/dist/.a.txt - ls .vuepress/dist/ && cd .vuepress/dist/ && pwd + cd incubator-doris/docs && npm install && npm run build + touch .vuepress/dist/.dummy + ls .vuepress/dist/ - name: Deploy uses: peaceiris/actions-gh-pages@v3 @@ -36,8 +36,8 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: asf-site publish_dir: ./incubator-doris/docs/.vuepress/dist - destination_dir: test + destination_dir: ${{ github.event.inputs.branch }} user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com' - commit_message: 'Automated deployment:' + commit_message: 'Automated deployment with doris branch ${{ github.event.inputs.branch }}@${{ env.DORIS_COMMIT }}' --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org