28 lines
768 B
YAML
28 lines
768 B
YAML
|
name: Sync To Gitee
|
||
|
|
||
|
env:
|
||
|
# 7 GiB by default on GitHub, setting to 6 GiB
|
||
|
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
|
||
|
NODE_OPTIONS: --max-old-space-size=6144
|
||
|
on:
|
||
|
push:
|
||
|
branches: [main]
|
||
|
|
||
|
jobs:
|
||
|
repo-sync:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v4
|
||
|
|
||
|
- name: Mirror the Github organization repos to Gitee.
|
||
|
uses: Yikun/hub-mirror-action@master
|
||
|
with:
|
||
|
src: github/buqiyuan
|
||
|
dst: gitee/buqiyuan
|
||
|
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
|
||
|
dst_token: ${{ secrets.GITEE_TOKEN }}
|
||
|
static_list: nest-admin
|
||
|
force_update: true
|
||
|
debug: true
|