add CI/CD: MkDocs build + Docker deploy on port 20000
Deploy Docs / deploy (push) Failing after 47s

- .gitea/workflows/deploy.yaml: Actions pipeline
- Dockerfile: nginx:alpine serving site/
- nginx.conf: SPA routing + gzip + cache
- .dockerignore: exclude source files
- .gitignore: exclude site/ (built in CI)
This commit is contained in:
wonder
2026-08-24 02:31:40 +00:00
parent 5718b98ffc
commit 5a0aa9ffbb
61 changed files with 89 additions and 16553 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM nginx:alpine
# 只把 MkDocs 构建产物(site/)放进 Nginx
COPY site/ /usr/share/nginx/html/
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80