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

liuxiaochun pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 4ec9d26  github action plugin
     new fcbf16a  Merge pull request #243 from khadgarmage/master
4ec9d26 is described below

commit 4ec9d26721c43b69a1b61bd155d1c70d08a180ae
Author: xiaochun.liu <[email protected]>
AuthorDate: Tue Dec 29 23:19:28 2020 +0800

    github action plugin
---
 .github/workflows/website.yml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml
index c1163aa..069045b 100644
--- a/.github/workflows/website.yml
+++ b/.github/workflows/website.yml
@@ -18,8 +18,10 @@ jobs:
         mkdir dist && npm install && npm run build && cp -r sitemap.xml 
404.html .asf.yaml index.html en-us zh-cn build img download dist/
 
     - name: Deploy
-      uses: peaceiris/actions-gh-pages@v3
+      if: success()
+      uses: crazy-max/ghaction-github-pages@v2
       with:
-        github_token: ${{ secrets.GITHUB_TOKEN }}
-        publish_branch: asf-site
-        publish_dir: ./dist
+        target_branch: asf-site
+        build_dir: ./dist
+      env:
+        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Reply via email to