Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 97 additions & 0 deletions .github/workflows/auto-backup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# ==============================
# 仓库自动镜像备份(终极优化版)
# 全局强制Node.js 24 | 彻底解决文件找不到问题 | 全程你的权限 | 精准保留自身脚本
# ==============================
name: 仓库自动镜像备份

on:
schedule:
- cron: '0 2 * * *'
workflow_dispatch:

# ==============================
# 全局配置:强制所有Action使用Node.js 24(解决Node 20停止支持问题)
# ==============================
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
GITHUB_TOKEN: ${{ secrets.BACKUP_ROBOT }}

jobs:
sync-backup:
runs-on: ubuntu-latest

steps:
# --------------------------
# 步骤1:拉取代码(全程使用你的令牌权限)
# --------------------------
- name: 拉取备份仓库代码
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.BACKUP_ROBOT }}
persist-credentials: false

# --------------------------
# 步骤2:全局配置Git权限
# --------------------------
- name: 配置Git全局权限
run: |
git config --global user.name "备份同步机器人"
git config --global user.email "27704534@qq.com"
git remote set-url origin https://x-access-token:${{ env.GITHUB_TOKEN }}@github.com/27704534/GoatBook-Source-backup.git

# --------------------------
# 步骤3:先备份你自己的备份脚本(核心修复!)
# --------------------------
- name: 备份自身工作流脚本
run: |
# 把你的备份脚本复制到临时目录,不会被上游覆盖
mkdir -p /tmp/backup
cp -f .github/workflows/auto-backup.yaml /tmp/backup/
echo "✅ 自身备份脚本已保存到临时目录"

# --------------------------
# 步骤4:拉取并同步上游仓库所有代码
# --------------------------
- name: 同步上游仓库最新代码
run: |
git remote add upstream https://github.com/AloneGoatProject/GoatBook-Source.git
git fetch upstream
git checkout main
git reset --hard upstream/main
echo "✅ 上游代码已完全同步"

# --------------------------
# 步骤5:恢复你自己的备份脚本(从临时目录恢复)
# --------------------------
- name: 恢复自身工作流脚本
run: |
# 从临时目录恢复你的备份脚本
mkdir -p .github/workflows
cp -f /tmp/backup/auto-backup.yaml .github/workflows/
# 提交恢复的脚本(否则不会被推送)
git add .github/workflows/auto-backup.yaml
git commit -m "恢复自动备份脚本(不被上游覆盖)" || true
echo "✅ 自身备份脚本已恢复"

# --------------------------
# 步骤6:全量推送(全程你的权限,无任何报错)
# --------------------------
- name: 推送备份到仓库
run: |
git push --force origin --all
git push --force origin --tags
echo "🎉 本次定时同步备份任务全部结束"

# --------------------------
# 步骤7:失败告警
# --------------------------
- name: 同步结果检测
if: always()
run: |
if [[ ${{ job.status }} == "failure" ]]; then
echo "❌ 备份失败,请检查仓库地址和令牌权限"
exit 1
else
echo "💯 本次同步任务圆满成功"
fi
Binary file removed docs/image/lemon_helper.png
Binary file not shown.
Binary file removed docs/img/IMG_20251007_082620.png
Binary file not shown.
Binary file removed docs/img/lyq.jpg
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Welcome to 茕羊维基
![](https://img.wsmdn.dpdns.org/img/茕羊民国国旗.jpg)
![](https://img.wsmdn.dpdns.org/img/国徽.jpg){ width=40% }
<audio src="https://img.wsmdn.dpdns.org/img/audio/茕羊群歌.mp3" controls></audio>
![](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/茕羊民国国旗.jpg)
![](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/国徽.jpg){ width=40% }
<audio src="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/audio/茕羊群歌.mp3" controls></audio>

## 这是什么?

Expand Down
12 changes: 6 additions & 6 deletions docs/name/name.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@
本维基中的*“我”*在没有特殊说明的情况下,一般指群员[茕茕子立的山羊](../../name/name.md#goat)

## 茕山羊 {#goat}
![](https://img.wsmdn.dpdns.org/img/goat.jpg){ width=40% }
![](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/goat.jpg){ width=40% }
茕山羊全称**茕茕孑立的山羊**
原名**刘峪企**
![刘大头](https://img.wsmdn.dpdns.org/img/real_goat.png){ width=35% }
![刘小头](https://img.wsmdn.dpdns.org/img/Image_1774087215938_391.jpg){ width=35% }
![刘大头](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/real_goat.png){ width=35% }
![刘小头](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/Image_1774087215938_391.jpg){ width=35% }
伟大的国父、开国元勋
曾多次担任总统(或主席)
一国两治思想的奠基人之一
一、三次文革的策划者
现任茕羊外交部部长、茕羊民国主席
[点击本段文字播放《国父颂》](https://img.wsmdn.dpdns.org/img/我们国父.mp4)
[点击本段文字播放《国父颂》](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/我们国父.mp4)

## 绿宝石 {#emerald}
全名:Emerald_绿宝石
抗议郑智化运动时退出群聊
![](https://img.wsmdn.dpdns.org/img/Image_67782075825501.jpg){ width=50% }
![](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/Image_67782075825501.jpg){ width=50% }

## mdn {#mdn}
!!!本群在2025年4月前禁止提起mdn
Expand Down Expand Up @@ -75,7 +75,7 @@ mdn<!--不-->是啥比,贪官污吏,叛徒,特务,反党分子,野心
现与茕山羊决裂

## 马步芳(暂无搜索结果,换个词试试吧) {#creeper}
![](https://img.wsmdn.dpdns.org/img/马步芳的帅照.png){ width=30% }
![](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/马步芳的帅照.png){ width=30% }
原名:**杨翔**
江苏省生物,使用电信
经常改名
Expand Down
4 changes: 2 additions & 2 deletions docs/thing/faan.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div style="display: flex; align-items: center; gap: 20px;">
<div style="flex: 1;">
<img src="https://img.wsmdn.dpdns.org/img/国徽.jpg" style="width: 10%;">
<img src="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/国徽.jpg" style="width: 10%;">
</div>
<div style="flex: 1;">法律、行规、命令等
</div>
Expand Down Expand Up @@ -354,7 +354,7 @@
9. **[茕羊维基](https://wiki.goatproject.qzz.io)**是柠檬官方唯一认可的群内及茕羊信息来源,任何非来自**茕羊维基**且和群内有关的消息一律视为***假***消息,群成员有维护维基的权利和义务。
10. 违反第四条规定的,可以采取鸡蛋里挑骨头的方案举报对方群聊(只是建议,在茕羊历史上此战略取得过多次成功),违反除第5条,第9条的规定的群员,第一次禁言1小时,第二次飞机票
11. 然后没了,想改交pr
12. ![柠檬小助手](../image/lemon_helper.png) 这是柠檬小助手,她很可爱
12. ![柠檬小助手](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/lemon_helper.png) 这是柠檬小助手,她很可爱

## 群公告

Expand Down
20 changes: 10 additions & 10 deletions docs/thing/history/lsys.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
***事件影响***
这次事件导致茕羊民国短暂封禁,对国内经济造成了严重的破坏。

![](https://img.wsmdn.dpdns.org/img/衣冠南渡.jpg)
![](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/衣冠南渡.jpg)

### 马步芳叛乱

Expand All @@ -66,7 +66,7 @@
### 第二民国的建立

`2025年7月1日`,由于群里太极霸乱,[**茕山羊**](../../name/name.md#goat)将群主之位传于[**绿宝石**](../../name/name.md#emerald)。绿宝石上台后不久进行大规模改革,召开了第一次议会,确立了**二帝共治制度**,标志着**茕羊第二民国**的建立,拉开了全面政治制度建设时期的大幕。
![武斗文件](https://img.wsmdn.dpdns.org/img/反马步芳和平建国.jpg)
![武斗文件](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/反马步芳和平建国.jpg)
<p style="text-align: center;">早期旗帜</p>


Expand All @@ -88,12 +88,12 @@
*第二次无产阶级文化大革命*暂时无法考证
<table>
<tr>
<td width="50%"><img src="https://img.wsmdn.dpdns.org/img/决定.jpg" style="width:100%"></td>
<td width="50%"><img src="https://img.wsmdn.dpdns.org/img/武斗指示.jpg" style="width:100%"></td>
<td width="50%"><img src="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/决定.jpg" style="width:100%"></td>
<td width="50%"><img src="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/武斗指示.jpg" style="width:100%"></td>
</tr>
</table>

![大字报1](https://img.wsmdn.dpdns.org/img/大字报1.jpg)
![大字报1](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/大字报1.jpg)

## 绿宝石英勇就义

Expand Down Expand Up @@ -275,7 +275,7 @@
## 茕羊行贿事件

`2025年11月16日`,据网传消息,民主党领导人[**茕茕孑立的山羊**](../../name/name.md#goat)疑似欲向[**mdn**](../../name/name.md#mdn)行贿,却遭拒绝。
![铁正如山](https://img.wsmdn.dpdns.org/img/山羊行贿事件.jpg){ width=70% }
![铁正如山](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/山羊行贿事件.jpg){ width=70% }

## 晨光大披露以至社民党被取缔事件

Expand Down Expand Up @@ -307,7 +307,7 @@
此举让我们群聊成功变回了一个聊天群😭😭😭😭😭😭😭😭😭😭😭😭。

王政复古运动是山羊对内调和迁就、时剿时抚的第一次重要体现,也是去政治化派和政治化派实力天平倾斜的开始。
![](https://img.wsmdn.dpdns.org/img/悲痛欲绝.png)
![](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/悲痛欲绝.png)

### 大远征

Expand Down Expand Up @@ -545,8 +545,8 @@
`2026年2月末左右`,山羊再次与群友爆发激烈的冲突,某位群成员明嘲暗讽地歧视某个原神玩家(山羊),山羊就此心态爆炸,感觉自己还是“没有资格”留在这个群里啊,最终山羊退出了群聊。不久后,咖啡猫与卿元羲改原茕羊为**猫娘俱乐部**。
`2026年2月25日`,山羊在长达两天的创作中,终于创作出了千古名篇——《茕马中线》
<!-- 视频元素 -->
<video id="player" playsinline controls data-poster="https://img.wsmdn.dpdns.org/img/茕马中线剪影.jpg">
<source src="https://img.wsmdn.dpdns.org/img/%E8%8C%95%E9%A9%AC%E4%B8%AD%E7%BA%BF.mp4" type="video/mp4" />
<video id="player" playsinline controls data-poster="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/茕马中线剪影.jpg">
<source src="https://raw.githubusercontent.com/AloneGoatProject/nomdn.github.io/main/img/茕马中线.mp4" type="video/mp4" />
</video>
本作以旁观者视角表达了对茕羊曲折历史的辛酸。
`2026年3月初`,“无悔华夏花园口游泳馆VIP会员群”(一位b站up主的粉丝群)经历了封群危机,山羊以接收难民为由,成立了“长白山羁糜州”,群员人数一度发展到了60余人。
Expand All @@ -559,7 +559,7 @@
山羊用“方便在白桦民国招兵买马”的幌子,骗取了白桦民国的管理员职位。随后不久,山羊发动军事政变,踢除了所有普通群员,并用马步芳的违规聊天记录截图威胁马步芳,让马步芳将群主转让给了山羊。山羊改群名为“柏骅海外省”(但在一天后,这个群聊被永久封禁了)

`3月24日`,马步芳被校领导正义制裁。
![截图](https://img.wsmdn.dpdns.org/img/1774388834554.jpg)
![截图](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/1774388834554.jpg)

`3月31日`,**温度尔汗坠机王当选新一任群主**。他上台后,再度建立政治制度,让我们群下了点雨,哗啦啦啦啦,滴入我的心了😍

Expand Down
4 changes: 2 additions & 2 deletions docs/thing/history/ys.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@

刘裕企看见自己的吊没了belike:
<!-- 视频元素 -->
<video id="player" playsinline controls data-poster="/img/lyq.jpg">
<source src="/video/lyq.mp4" type="video/mp4" />
<video id="player" playsinline controls data-poster="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/lyq.jpg">
<source src="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/lyq.mp4" type="video/mp4" />
</video>

## 矩形运动
Expand Down
2 changes: 1 addition & 1 deletion docs/thing/lemonhufu.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 宁勐特别行政区

<div style="text-align: center;">
<img src="https://img.wsmdn.dpdns.org/img/宁勐区徽.png"
<img src="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/宁勐区徽.png"
alt="宁勐区徽"
style="width: 50%;">
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/thing/meeting.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div style="display: flex; align-items: center; gap: 20px;">
<div style="flex: 1;">
<img src="https://img.wsmdn.dpdns.org/img/国徽.jpg" style="width: 10%;">
<img src="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/国徽.jpg" style="width: 10%;">
</div>
<div style="flex: 1;">国家会议
</div>
Expand Down Expand Up @@ -43,7 +43,7 @@
- 确定管理员选举制度
- 踢出了LV=1的成员(小号除外)
- 将看板娘加入wiki每一页 (现已删除😢)
![](https://dlink.host/sharepoint/aHR0cHM6Ly94dGtkanhmaXRza2cxNjMtbXkuc2hhcmVwb2ludC5jb20vOmk6L2cvcGVyc29uYWwveHRrZGp4Zml0c2tnXzE2M19jb21fZXh0X194dGtkanhmaXRza2cxNjNfb25taWNyb3NvZnRfY29tL0lRQzRCXzVvaGVpZVRwWng5Y2tsU0pGckFVUVVrcnctN3BldHBscUQ5cWM3RndZP2U9S3k3UUZD.jpg){ width=40}
![](https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/看板娘.jpg){ width=50% }
- *颁布宣告:以下页面加入看板娘*
- *会议记录*
- *野史*
Expand Down
2 changes: 1 addition & 1 deletion docs/thing/qiyang.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 岐阳市

<div style="text-align: center;">
<img src="https://img.wsmdn.dpdns.org/img/retouch_2026051109354960.png"
<img src="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/retouch_2026051109354960.png"
alt="省徽"
style="width: 50%;">
</div>
Expand Down
8 changes: 4 additions & 4 deletions docs/thing/wycz/茕羊集.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
代表作:《爱学同志》《大学子》《滨河大道东》

<p style="text-align: center;">爱学同志</p>
<video id="player" playsinline controls data-poster="https://img.wsmdn.dpdns.org/img/爱学同志封面.jpg">
<source src="https://img.wsmdn.dpdns.org/img/爱学同志_new.mp4" type="video/mp4" />
<video id="player" playsinline controls data-poster="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/爱学同志封面.jpg">
<source src="https://raw.githubusercontent.com/AloneGoatProject/nomdn.github.io/main/img/爱学同志_new.mp4" type="video/mp4" />
</video>

<p style="text-align: center;">大学子</p>
<video id="player" playsinline controls data-poster="https://img.wsmdn.dpdns.org/img/大学子封面.jpg">
<source src="https://img.wsmdn.dpdns.org/img/大学子.mp4" type="video/mp4" />
<video id="player" playsinline controls data-poster="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/大学子封面.jpg">
<source src="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/大学子.mp4" type="video/mp4" />
</video>

## 群聊作品
Expand Down
Binary file removed docs/video/Video_1760872230424.mp4
Binary file not shown.
Binary file removed docs/video/lyq.mp4
Binary file not shown.
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ nav:
theme:
name: material
language : zh
favicon: https://img.wsmdn.dpdns.org/img/goat.jpg
favicon: https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/goat.jpg
icon:
repo: fontawesome/brands/github
palette:
Expand Down
2 changes: 1 addition & 1 deletion site/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@



<link rel="icon" href="https://img.wsmdn.dpdns.org/img/goat.jpg">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/goat.jpg">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.7.6">


Expand Down
2 changes: 1 addition & 1 deletion site/image/example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@



<link rel="icon" href="https://img.wsmdn.dpdns.org/img/goat.jpg">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/goat.jpg">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.7.6">


Expand Down
8 changes: 4 additions & 4 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@



<link rel="icon" href="https://img.wsmdn.dpdns.org/img/goat.jpg">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/goat.jpg">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.7.6">


Expand Down Expand Up @@ -796,9 +796,9 @@


<h1 id="welcome-to">Welcome to 茕羊维基</h1>
<p><img alt="" src="https://img.wsmdn.dpdns.org/img/茕羊民国国旗.jpg" /><br />
<img alt="" src="https://img.wsmdn.dpdns.org/img/国徽.jpg" width="40%" /><br />
<audio src="https://img.wsmdn.dpdns.org/img/audio/茕羊群歌.mp3" controls></audio></p>
<p><img alt="" src="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/茕羊民国国旗.jpg" /><br />
<img alt="" src="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/国徽.jpg" width="40%" /><br />
<audio src="https://cdn.jsdelivr.net/gh/AloneGoatProject/nomdn.github.io@main/img/audio/茕羊群歌.mp3" controls></audio></p>
<h2 id="_1">这是什么?</h2>
<ul>
<li>茕羊维基是基于mkdocs开发的一个网站 </li>
Expand Down
Loading
Loading