reinstall/.github/workflows/sync_to_gitee.yaml

17 lines
472 B
YAML
Raw Normal View History

2023-09-14 21:22:21 +08:00
name: 同步到 Gitee
on: [push, workflow_dispatch]
jobs:
sync:
2023-09-16 20:09:52 +08:00
name: 同步到 Gitee
2023-10-22 00:28:55 +08:00
if: ${{ github.repository == 'bin456789/reinstall' }}
2023-09-14 21:22:21 +08:00
runs-on: ubuntu-latest
steps:
2023-09-21 00:12:35 +08:00
- uses: Yikun/hub-mirror-action@v1.3
2023-09-14 21:22:21 +08:00
with:
src: github/bin456789
dst: gitee/bin456789
static_list: "reinstall"
force_update: true
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}