You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
606 B
27 lines
606 B
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" |