Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 72a4ad1999 | |||
| a60c8fd123 |
@@ -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 }}
|
||||||
@@ -43,4 +37,4 @@ jobs:
|
|||||||
WIKI_BOT_PASSWORD: ${{ secrets.WIKI_BOT_PASSWORD }}
|
WIKI_BOT_PASSWORD: ${{ secrets.WIKI_BOT_PASSWORD }}
|
||||||
SOURCE_REF: ${{ github.sha }}
|
SOURCE_REF: ${{ github.sha }}
|
||||||
GITEA_REPO_URL: ${{ vars.URL_TO_GITEA }}/mikkeli/ncmr-songs
|
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