forked from Emil_Shanaty/devlog
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e69e4a834 |
@@ -1,26 +0,0 @@
|
|||||||
# Publishes the devlog on shanaty.ru when Emil merges an entry (a push to main of Emil_Shanaty/devlog).
|
|
||||||
# Lives in the devlog repository as .gitea/workflows/publish.yml. It runs on the server's runner (label `python`), reads the merged entries
|
|
||||||
# from Gitea and writes /data/devlog.json and /devlog/feed.xml of the site. The code is /opt/devlog/devlog_sync.py on the server, not from this
|
|
||||||
# repository, so merging an entry never changes what runs.
|
|
||||||
name: publish
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
workflow_dispatch:
|
|
||||||
jobs:
|
|
||||||
publish:
|
|
||||||
runs-on: python
|
|
||||||
container:
|
|
||||||
image: python:3.13-alpine
|
|
||||||
volumes:
|
|
||||||
- /opt/devlog:/opt/devlog:ro
|
|
||||||
- /opt/gitea/site/data:/out/data
|
|
||||||
- /opt/gitea/site/devlog:/out/devlog
|
|
||||||
steps:
|
|
||||||
- name: Publish the merged entries
|
|
||||||
run: python3 /opt/devlog/devlog_sync.py
|
|
||||||
env:
|
|
||||||
DEVLOG_API: https://git.shanaty.ru/api/v1
|
|
||||||
DEVLOG_OUT_JSON: /out/data/devlog.json
|
|
||||||
DEVLOG_OUT_FEED: /out/devlog/feed.xml
|
|
||||||
PYTHONDONTWRITEBYTECODE: "1"
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"id": "2026-09-20T23-22",
|
||||||
|
"date": "2026-09-20T23:22:18Z",
|
||||||
|
"title": {
|
||||||
|
"ru": "Обновление демок",
|
||||||
|
"en": "Refreshing the demos"
|
||||||
|
},
|
||||||
|
"summary": {
|
||||||
|
"ru": "День на картинки: перезаписал демо-гифки в двух проектах, код не трогал.",
|
||||||
|
"en": "A day of images: re-recorded the demo gifs in two projects, no code changes."
|
||||||
|
},
|
||||||
|
"repos": [
|
||||||
|
{
|
||||||
|
"name": "aicc-capsule",
|
||||||
|
"url": "https://git.shanaty.ru/Emil_Shanaty/aicc-capsule",
|
||||||
|
"commits": 2,
|
||||||
|
"note": {
|
||||||
|
"ru": "Перезаписал демо-гифки: demo.gif, 2D_demo.gif и добавил smooth_mission.gif.",
|
||||||
|
"en": "Re-recorded the demo gifs: demo.gif, 2D_demo.gif, and a new smooth_mission.gif."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Cortex_Engine",
|
||||||
|
"url": "https://git.shanaty.ru/Emil_Shanaty/Cortex_Engine",
|
||||||
|
"commits": 1,
|
||||||
|
"note": {
|
||||||
|
"ru": "Перезаписал cortex_demo.gif и demo.gif.",
|
||||||
|
"en": "Re-recorded cortex_demo.gif and demo.gif."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user