From 4105a0bb4182b7c85866fa5d21bf270080543f50 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Fri, 4 Apr 2025 08:50:02 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E5=88=A0=E9=99=A4=20Gitlab=20/=20Gitla?= =?UTF-8?q?b=20CN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/sync_to_gitlab.yml | 18 ------------------ .github/workflows/sync_to_gitlabcn.yml | 24 ------------------------ 2 files changed, 42 deletions(-) delete mode 100644 .github/workflows/sync_to_gitlab.yml delete mode 100644 .github/workflows/sync_to_gitlabcn.yml diff --git a/.github/workflows/sync_to_gitlab.yml b/.github/workflows/sync_to_gitlab.yml deleted file mode 100644 index eb35139..0000000 --- a/.github/workflows/sync_to_gitlab.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/sync_to_gitlabcn.yml b/.github/workflows/sync_to_gitlabcn.yml deleted file mode 100644 index 595338e..0000000 --- a/.github/workflows/sync_to_gitlabcn.yml +++ /dev/null @@ -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