Skip to content

sync-gitee

sync-gitee #44

Workflow file for this run

name: sync-gitee
on:
workflow_run:
workflows: ['gh-pages']
types:
- completed
jobs:
sync-gitee:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v3
- name: Sync Mirror
uses: Yikun/hub-mirror-action@master
with:
force_update: true
src: github/gkd-kit
src_account_type: org
dst: gitee/gkd-kit
dst_key: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
static_list: 'inspect'
mappings: 'inspect=>gkd-kit'
- name: Build Pages
uses: yanglbme/gitee-pages-action@main
with:
gitee-username: ${{ secrets.GITEE_USERNAME }}
gitee-password: ${{ secrets.GITEE_PASSWORD }}
gitee-repo: gkd-kit/gkd-kit
branch: gh-pages