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

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


The following commit(s) were added to refs/heads/master by this push:
     new 6bd51bb  Add auto-deploy back (#192)
6bd51bb is described below

commit 6bd51bbdd18bd285e998e36aff3986323e7243f4
Author: Zhenxu Ke <[email protected]>
AuthorDate: Thu Jan 7 16:01:54 2021 +0800

    Add auto-deploy back (#192)
---
 .github/workflows/deploy.yaml | 8 +++++++-
 README.md                     | 2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index dea734b..e62dcce 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -41,4 +41,10 @@ jobs:
       - name: Build
         run: hugo
 
-          
+      - name: Deploy
+        uses: peaceiris/actions-gh-pages@v3
+        if: github.event_name == 'push' && github.ref == 'refs/heads/master'
+        with:
+          github_token: ${{ secrets.GITHUB_TOKEN }}
+          publish_dir: ./public
+          publish_branch: asf-site
diff --git a/README.md b/README.md
index b738cdf..a2a77e0 100755
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ This site was compiled using [Hugo](https://gohugo.io).
 
 1. Install hugo
 1. Pull this repo into your local environment, and run `hugo server`  at the 
root folder, you can see the site preview from http://localhost:1313
-1. To generate the static website, run `hugo`. According to ASF policy, the 
deployment has to be manually done by a committer. Use the generated `public` 
folder to update the `asf-site` branch, and push the updates to the upstream.
+1. To generate the static website, run `hugo`.
 
 ## Contributing
 

Reply via email to