core: 使用极狐 Gitlab

This commit is contained in:
bin456789
2024-07-20 21:14:03 +08:00
parent cbe1502835
commit c9b8738bdb
6 changed files with 45 additions and 39 deletions

View File

@ -1,16 +0,0 @@
name: 同步到 Gitee
on: [push, workflow_dispatch]
jobs:
sync:
name: 同步到 Gitee
if: ${{ github.repository == 'bin456789/reinstall' }}
runs-on: ubuntu-latest
steps:
- uses: Yikun/hub-mirror-action@v1.4
with:
src: github/bin456789
dst: gitee/bin456789
static_list: "reinstall"
force_update: true
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}

17
.github/workflows/sync_to_jihulab.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: 同步到极狐
on:
workflow_dispatch:
push:
jobs:
run:
name: 同步到极狐
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
with:
REMOTE: https://jihulab.com/bin456789/reinstall.git
GIT_USERNAME: username
GIT_PASSWORD: ${{ secrets.JIHULAB_TOKEN }}