Skip to content

Commit 9171acf

Browse files
committed
chore: add atomgit mirror
1 parent f56a4d6 commit 9171acf

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

.github/CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#example-of-a-codeowners-file
2-
* @jiacai2050 @xihale
2+
3+
* @jiacai2050 @xihale @jinzhongjia

.github/workflows/mirror.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,14 @@ jobs:
1616
fetch-depth: 0
1717
- run: |
1818
git push --tags --force https://${{ secrets.CBTOKEN }}@codeberg.org/jiacai2050/zigcc.git "refs/remotes/origin/*:refs/heads/*"
19+
20+
atomgit:
21+
if: github.repository_owner == 'zigcc'
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
27+
- uses: pixta-dev/repository-mirroring-action@v1
28+
with:
29+
target_repo_url: https://jiacai2050:${{ secrets.ATOMGIT_TOKEN }}@atomgit.com/${{ github.repository }}.git

layouts/templates/base.shtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
<div>
6464
&copy; 2022 – 2025
6565
| <a href="https://github.com/zigcc/zigcc.github.io">GitHub</a>
66+
| <a href="https://atomgit.com/zigcc/zigcc.github.io">AtomGit</a>
6667
| 由 <a href="https://zine-ssg.io/">Zine</a> 驱动
6768
| <a href="http://course.ziglang.cc">Zig 圣经</a>
6869
| <a href="http://cookbook.ziglang.cc">Zig Cookbook</a>

0 commit comments

Comments
 (0)