mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
add sync to gitee
Signed-off-by: Jeff <jeffzhang@yunify.com>
This commit is contained in:
parent
c95bf74223
commit
72e0351e63
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue