core: 国内服务器使用 gitlab

This commit is contained in:
bin456789
2025-01-27 23:57:55 +08:00
parent f60f79e65a
commit 2e1702e5e0
6 changed files with 28 additions and 9 deletions

18
.github/workflows/sync_to_gitlab.yml vendored Normal file
View File

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

View File

@ -1,10 +1,10 @@
name: 同步到极狐
name: 同步到 Gitlab CN
on:
workflow_dispatch:
push:
jobs:
run:
name: 同步到极狐
name: 同步到 Gitlab CN
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@ -15,3 +15,4 @@ jobs:
REMOTE: https://jihulab.com/bin456789/reinstall.git
GIT_USERNAME: username
GIT_PASSWORD: ${{ secrets.JIHULAB_TOKEN }}
PUSH_ALL_REFS: false