gitee-sync.yml 613 Bytes
Newer Older
kzkzzzz's avatar
kzkzzzz committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
on:
  push:
    branches:
      - main
    tags:
      - "*"

name: Sync to Gitee
jobs:
  run:
    name: Run
    runs-on: ubuntu-latest
    steps:
      - name: Checkout source code
        uses: actions/checkout@v1
      - name: Mirror Github to Gitee
        uses: Yikun/hub-mirror-action@v1.2
        with:
          src: github/go-kratos
          dst: gitee/go-kratos
          dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
          dst_token: ${{ secrets.GITEE_TOKEN }}
          account_type: org
          timeout: 600
          debug: true
          force_update: true
          static_list: "kratos-layout"