Files
ncmr-songs/.gitea/workflows/publish.yml
T
mikkeli 72a4ad1999
/ publish (push) Failing after 2s
ci: use pre-built novoyuuparosk-wiki-runner image
Drops apt-get and pip install steps — deps are baked into the
locally-built shared runner image. See novoyuuparosk-auto-wiki
README for rebuild instructions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10 00:16:03 +09:00

41 lines
1.3 KiB
YAML

on:
push:
branches: [master]
paths-ignore:
- "wip/**"
- "README.md"
- ".gitignore"
- ".claude/**"
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
container:
image: novoyuuparosk-wiki-runner:latest
steps:
- name: Checkout ncmr-songs
env:
FAPAT: ${{ secrets.FAPAT }}
URL_TO_GITEA: ${{ vars.URL_TO_GITEA }}
run: |
git clone "http://mikkeli:${FAPAT}@${URL_TO_GITEA#http://}/mikkeli/ncmr-songs" ncmr-songs
git -C ncmr-songs checkout ${{ github.sha }}
- name: Checkout auto-wiki (renderer)
env:
FAPAT: ${{ secrets.FAPAT }}
URL_TO_GITEA: ${{ vars.URL_TO_GITEA }}
run: git clone "http://mikkeli:${FAPAT}@${URL_TO_GITEA#http://}/mikkeli/novoyuuparosk-auto-wiki" auto-wiki
- name: Publish
env:
WIKI_API_URL: ${{ vars.WIKI_API_URL }}
WIKI_BASE_URL: ${{ vars.WIKI_BASE_URL }}
WIKI_BOT_USER: ${{ secrets.WIKI_BOT_USER }}
WIKI_BOT_PASSWORD: ${{ secrets.WIKI_BOT_PASSWORD }}
SOURCE_REF: ${{ github.sha }}
GITEA_REPO_URL: ${{ vars.URL_TO_GITEA }}/mikkeli/ncmr-songs
run: python auto-wiki/pipelines/songs/publish.py --source-dir ncmr-songs --all