Skip to content

Commit 24e1886

Browse files
committed
Auto update_git 2025-12-07 13:25
1 parent a2b3c74 commit 24e1886

File tree

14 files changed

+81
-5
lines changed

14 files changed

+81
-5
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Sync to Pages Repository
2+
3+
on:
4+
push:
5+
branches: [main, master]
6+
workflow_dispatch:
7+
8+
jobs:
9+
sync:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout source code
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Setup SSH
19+
uses: webfactory/ssh-agent@v0.9.0
20+
with:
21+
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
22+
23+
- name: Configure Git
24+
run: |
25+
git config --global user.name "GitHub Actions Bot"
26+
git config --global user.email "actions@github.com"
27+
28+
# 4. 推送到目標倉庫
29+
- name: Push to Pages Repository
30+
env:
31+
32+
TARGET_REPO: "git@github.com:AD-iOS/ad-ios.github.io.git"
33+
SOURCE_BRANCH: ${{ github.ref_name }}
34+
run: |
35+
# 添加遠程倉庫
36+
git remote add target "$TARGET_REPO"
37+
38+
mkdir -p ~/.ssh
39+
ssh-keyscan github.com >> ~/.ssh/known_hosts
40+
41+
echo "準備同步..."
42+
echo "源分支: $SOURCE_BRANCH"
43+
echo "目標: master"
44+
45+
# 強制推送
46+
# 語法含義:把當前的 $SOURCE_BRANCH 推送到 target 的 master 分支
47+
git push target "$SOURCE_BRANCH:master" --force
48+
49+
echo "同步成功!"

cyidadepiction

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sileodepiction

images

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sileodepiction/Default

index.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,17 @@ <h1>AD Repo</h1>
2525
<form action="#" method="post">
2626
<p class="legend">添加软件源<span class="fa fa-hand-o-down"></span></p>
2727
<a href="sileo://source/https://ad-ios.github.io/ad/">添加到Sileo</a>
28-
<br></br>
28+
<br>
29+
<br>
2930
<a href="zbra://sources/add/https://ad-ios.github.io/ad/">添加Zebra</a>
30-
<br></br>
31+
<br>
32+
<br>
3133
<a href="apt-repo://https://ad-ios.github.io/ad/">添加Saily</a>
34+
<!--
35+
<br>
36+
<br>
37+
<a href="cydia://source/https://ad-ios.github.io/ad/">添加到cydia</a>
38+
-->
3239
</form>
3340
</div>
3441
</body>
File renamed without changes.
856 KB
Binary file not shown.
-7.75 KB
Binary file not shown.

sailydepiction

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/var/mobile/ad/sileodepiction
1.01 MB
Binary file not shown.
72.4 KB
Loading

0 commit comments

Comments
 (0)