diff options
| author | FangcatChina <f20091219@outlook.com> | 2026-08-14 02:51:04 +0000 |
|---|---|---|
| committer | FangcatChina <f20091219@outlook.com> | 2026-08-14 02:51:04 +0000 |
| commit | 50b5fb92be8fe72748438716a00f2ee2f263f965 (patch) | |
| tree | f17f642139a427a9b79a05e2a26564d06b559748 | |
| parent | Merge pull request #24 from 42-good/sway (diff) | |
feat: mirror for repo
| -rw-r--r-- | .github/workflows/sync_to_forgejo.yml | 20 | ||||
| -rw-r--r-- | README.md | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/sync_to_forgejo.yml b/.github/workflows/sync_to_forgejo.yml new file mode 100644 index 0000000..f8d7637 --- /dev/null +++ b/.github/workflows/sync_to_forgejo.yml @@ -0,0 +1,20 @@ +name: Force Push to Any Remote Repo + +on: + push: + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - name: Checkout source code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Force push to target repository + env: + TARGET_REPO_URL: ${{ secrets.TARGET_REPO_URL }} + run: | + git remote add target ${TARGET_REPO_URL} + git push --force target
\ No newline at end of file @@ -26,6 +26,8 @@ LinuxCabin是一个志愿者组织,本教程由对Linux抱有热情的用户æ’ 贡献前必看:[CONTRIBUTING.md](CONTRIBUTING.md) +双向镜像:https://git.091209.xyz/LinuxCabin/linux-handbook (由@FangcatChina提供服务) + 构建状态请在 https://git.13-trixie.top/LinuxCabin/linux-handbook/actions 查看。(构建由@13-trixie提供服务,目前暂停) ## 贡献者们 |
