Compare commits
2 Commits
2a2874254b
...
72a4ad1999
| Author | SHA1 | Date | |
|---|---|---|---|
| 72a4ad1999 | |||
| a60c8fd123 |
@@ -12,12 +12,9 @@ jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: python:3.12-slim
|
||||
image: novoyuuparosk-wiki-runner:latest
|
||||
|
||||
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
|
||||
env:
|
||||
FAPAT: ${{ secrets.FAPAT }}
|
||||
@@ -32,9 +29,6 @@ jobs:
|
||||
URL_TO_GITEA: ${{ vars.URL_TO_GITEA }}
|
||||
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
|
||||
env:
|
||||
WIKI_API_URL: ${{ vars.WIKI_API_URL }}
|
||||
@@ -43,4 +37,4 @@ jobs:
|
||||
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/render.py --source-dir ncmr-songs --all
|
||||
run: python auto-wiki/pipelines/songs/publish.py --source-dir ncmr-songs --all
|
||||
|
||||
Reference in New Issue
Block a user