用 marknb 替换 Python markdown,并添加一键安装与升级脚本。

部署时通过 install.sh 自动编译 marknb;日常更新用 upgrade.sh 拉代码并重编译。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cnb
2026-07-05 11:48:18 +08:00
co-authored by Cursor
parent 0333ab1fc1
commit cf8eba082f
8 changed files with 227 additions and 25 deletions
+2 -8
View File
@@ -3,11 +3,5 @@ $:
- runner:
cpus: 2
stages:
- name: ls
script: ls -al
- name: install dependents
script:
- apt install python3 python3-pip python3-venv -y
- python3 -m venv ./venv
- ./venv/bin/pip install -r requirements.txt
- echo "source $(pwd)/venv/bin/activate" >> ~/.zshrc
- name: install
script: bash scripts/install.sh