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>
This commit is contained in:
@@ -12,12 +12,9 @@ jobs:
|
|||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: python:3.12-slim
|
image: novoyuuparosk-wiki-runner:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install system deps
|
|
||||||
run: apt-get update -qq && apt-get install -y --no-install-recommends git pandoc ca-certificates
|
|
||||||
|
|
||||||
- name: Checkout ncmr-songs
|
- name: Checkout ncmr-songs
|
||||||
env:
|
env:
|
||||||
FAPAT: ${{ secrets.FAPAT }}
|
FAPAT: ${{ secrets.FAPAT }}
|
||||||
@@ -32,9 +29,6 @@ jobs:
|
|||||||
URL_TO_GITEA: ${{ vars.URL_TO_GITEA }}
|
URL_TO_GITEA: ${{ vars.URL_TO_GITEA }}
|
||||||
run: git clone "http://mikkeli:${FAPAT}@${URL_TO_GITEA#http://}/mikkeli/novoyuuparosk-auto-wiki" auto-wiki
|
run: git clone "http://mikkeli:${FAPAT}@${URL_TO_GITEA#http://}/mikkeli/novoyuuparosk-auto-wiki" auto-wiki
|
||||||
|
|
||||||
- name: Install Python deps
|
|
||||||
run: pip install --no-cache-dir -r auto-wiki/pipelines/songs/requirements.txt
|
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
env:
|
env:
|
||||||
WIKI_API_URL: ${{ vars.WIKI_API_URL }}
|
WIKI_API_URL: ${{ vars.WIKI_API_URL }}
|
||||||
|
|||||||
Reference in New Issue
Block a user