This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch mkdocs
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git

commit 9076c6589a15e6b167f692de9aed55ce3da72d43
Author: ken.lj <[email protected]>
AuthorDate: Wed Oct 28 12:18:55 2020 +0800

    add deploy action back
---
 .github/workflows/deploy.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index e518587..a738166 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -23,3 +23,11 @@ jobs:
           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/[email protected]
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          PUBLISH_BRANCH: asf-site
+          PUBLISH_DIR: ./deploy-dist
+        with:
+          keepFiles: true
\ No newline at end of file

Reply via email to