add sync to gitee

Signed-off-by: Jeff <jeffzhang@yunify.com>
This commit is contained in:
Jeff 2020-11-13 10:43:54 +08:00
parent c95bf74223
commit 72e0351e63

View File

@ -4,6 +4,8 @@ on:
push:
branches:
- master
schedule: # run 8:00 AM Beijing Time everyday
- cron: '0 0 * * *'
jobs:
deploy:
@ -21,6 +23,16 @@ jobs:
hugo-version: '0.71.1'
extended: true
- name: Sync to gitee
uses: Yikun/hub-mirror-action@master
with:
src: github/kubesphere
dst: gitee/kubesphere
white_list: 'website'
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ GITEE_TOKEN}}
account_type: org
- name: Build English Website
run: hugo --environment upstream --minify