mirror of
https://github.com/bin456789/reinstall.git
synced 2025-06-07 21:09:56 +00:00
core: 删除 Gitlab / Gitlab CN
This commit is contained in:
parent
b84fd9e875
commit
4105a0bb41
18
.github/workflows/sync_to_gitlab.yml
vendored
18
.github/workflows/sync_to_gitlab.yml
vendored
@ -1,18 +0,0 @@
|
|||||||
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
|
|
24
.github/workflows/sync_to_gitlabcn.yml
vendored
24
.github/workflows/sync_to_gitlabcn.yml
vendored
@ -1,24 +0,0 @@
|
|||||||
name: 删除 Gitlab CN
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
|
||||||
jobs:
|
|
||||||
run:
|
|
||||||
name: 删除 Gitlab CN
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- run: |
|
|
||||||
rm -rf *
|
|
||||||
git config --global user.email "you@example.com"
|
|
||||||
git config --global user.name "Your Name"
|
|
||||||
git init .
|
|
||||||
git add .
|
|
||||||
git branch -m main
|
|
||||||
git commit -m "null" --allow-empty
|
|
||||||
|
|
||||||
- uses: yesolutions/mirror-action@master
|
|
||||||
with:
|
|
||||||
REMOTE: https://jihulab.com/bin456789/reinstall.git
|
|
||||||
GIT_USERNAME: username
|
|
||||||
GIT_PASSWORD: ${{ secrets.JIHULAB_TOKEN }}
|
|
||||||
PUSH_ALL_REFS: false
|
|
Loading…
x
Reference in New Issue
Block a user