This is an automated email from the ASF dual-hosted git repository. liujun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push: new 431bea1 update deploy action 431bea1 is described below commit 431bea155c180472d93b27121867782c68013152 Author: ken.lj <ken.lj...@gmail.com> AuthorDate: Sun Nov 1 00:35:55 2020 +0800 update deploy action --- .github/workflows/deploy.yml | 2 +- .github/workflows/deploy_site.yml | 33 --------------------------------- 2 files changed, 1 insertion(+), 34 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a738166..823f038 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,7 @@ name: Website deploy on: push: branches: - - mkdocs + - master jobs: deploy: diff --git a/.github/workflows/deploy_site.yml b/.github/workflows/deploy_site.yml deleted file mode 100644 index 63c2eab..0000000 --- a/.github/workflows/deploy_site.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Website deploy - -on: - push: - branches: - - mkdocs - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: 3.x - - name: Build - run: | - pip install \ - mkdocs-material>=5.5.3 \ - mkdocs-minify-plugin>=0.3 \ - mkdocs-redirects>=1.0 - mkdocs --version - echo "removing previous static files from ./output" && rm -rf ./output - mkdocs build -f mkdocs_en.yml -d ./output/en-us && mkdocs build -f mkdocs_zh.yml -d ./output/zh-cn - mkdir deploy-dist && cp -R img ./output/zh-cn/ && cp -R img ./output/en-us/ && cp -R ./output/* deploy-dist/ - - name: Deploy - uses: peaceiris/actions-gh-pages@v2.4.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PUBLISH_BRANCH: asf-site - PUBLISH_DIR: ./deploy-dist - with: - keepFiles: true