You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/01/07 07:47:26 UTC

[skywalking-website] 01/01: Add auto-deploy back

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

kezhenxu94 pushed a commit to branch kezhenxu94-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking-website.git

commit 2679cab7edd3a331e0419203eadba25f6362be2f
Author: Zhenxu Ke <ke...@apache.org>
AuthorDate: Thu Jan 7 15:47:15 2021 +0800

    Add auto-deploy back
---
 .github/workflows/deploy.yaml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index dea734b..e980f2d 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -27,6 +27,8 @@ jobs:
 
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 0
 
       - name: Install
         run: |
@@ -41,4 +43,9 @@ jobs:
       - name: Build
         run: hugo
 
-          
+      - name: Deploy
+        uses: peaceiris/actions-gh-pages@v3
+        with:
+          github_token: ${{ secrets.GITHUB_TOKEN }}
+          publish_dir: ./public
+          publish_branch: asf-site