From 92136ec878d79947c323c2456943a15d7c255fe9 Mon Sep 17 00:00:00 2001 From: Mikkeli Matlock Date: Thu, 11 Jun 2026 13:05:50 +0900 Subject: [PATCH] ci: wire publish workflow to auto-wiki tech pipeline Add .gitea/workflows/publish.yml as a thin caller of novoyuuparosk-auto-wiki publish-tech.yml@master (SOURCE_REF + --all), matching the ncmr-songs / ses-light-novel pattern. Add .gitignore and flesh out README to describe the publishing behaviour and categories. Co-Authored-By: Claude Opus 4.8 --- .gitea/workflows/publish.yml | 16 ++++++++++++++++ .gitignore | 5 +++++ README.md | 28 +++++++++++++++++++++++++++- assets/.gitkeep | 0 blogs/2026-06-11_wiki-archie.md | 11 +++++++++++ 5 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/publish.yml create mode 100644 .gitignore create mode 100644 assets/.gitkeep create mode 100644 blogs/2026-06-11_wiki-archie.md diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml new file mode 100644 index 0000000..2bb4494 --- /dev/null +++ b/.gitea/workflows/publish.yml @@ -0,0 +1,16 @@ +on: + push: + branches: [master] + paths-ignore: + - "README.md" + - ".gitignore" + - ".gitkeep" + - ".claude/**" + workflow_dispatch: + +jobs: + publish: + uses: mikkeli/novoyuuparosk-auto-wiki/.gitea/workflows/publish-tech.yml@master + with: + SOURCE_REF: ${{ github.sha }} + secrets: inherit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d985a35 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +# claude settings +.claude/ + +# vscode settings +.vscode/ diff --git a/README.md b/README.md index 89a304a..4b26879 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,29 @@ # tech-blogs -Tech blogs. \ No newline at end of file +Tech blog posts, published to the Novoyuuparosk wiki. + +## automation + +Uses the `novoyuuparosk-auto-wiki` repository for automatic wiki publishing. + +Posts publish at their bare `title` (no namespace prefix). Each published page +automatically gets the following mediawiki categories: +- `Tech blog` +- `Blog:${YEAR}` derived from the `date` field (falls back to the publish year if no date) +- `${TAG}` for each entry in the file's `tags` list + +Only files with `wiki.publish: true` in their YAML header are published. + +### action triggers +- commit on `master` branch +- manual trigger (`workflow_dispatch`) + +## structure +``` +|- blogs +| |- 2026-06-11_wiki-archie.md +| |- ... +| +|- assets +| |- ... +``` diff --git a/assets/.gitkeep b/assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/blogs/2026-06-11_wiki-archie.md b/blogs/2026-06-11_wiki-archie.md new file mode 100644 index 0000000..e5ca63b --- /dev/null +++ b/blogs/2026-06-11_wiki-archie.md @@ -0,0 +1,11 @@ +--- +title: The Novoyuuparosk wiki automation architecture +date: 2026-06-11 +tags: + - CICD + - Automation +wiki: + publish: false +--- + +A stub for now. \ No newline at end of file