Skip to content

fix: Złe nazwy plików, link do PDF-a #31

fix: Złe nazwy plików, link do PDF-a

fix: Złe nazwy plików, link do PDF-a #31

Workflow file for this run

name: build-pdf
on:
push:
branches:
- hk-songbook
schedule:
- cron: '0 0 1 * *'
jobs:
build-pdf:
runs-on: ubuntu-latest
container: matiusz/songbook:latest
defaults:
run:
working-directory: ./app
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
repository: matiusz/songbook
token: ${{ secrets.GITHUB_TOKEN }}
path: ./app
- name: Generate HK PDF
run: python3 -m songbook.apps.create_pdf
env:
SONGBOOK_DATA_DIR: hk-songbook
SONGBOOK_TITLE: hk-songbook
- name: Generate 111 ADH PDF
run: python3 -m songbook.apps.create_pdf
env:
SONGBOOK_DATA_DIR: spiewnik111adh
SONGBOOK_TITLE: spiewnik111adh
- name: ls
run: ls
- name: Archive HK PDF
uses: actions/upload-artifact@v4
with:
name: hk-songbook
path: app/hk-songbook.pdf
if-no-files-found: error
- name: Archive 111 ADH PDF
uses: actions/upload-artifact@v4
with:
name: spiewnik111adh
path: app/spiewnik111adh.pdf
if-no-files-found: error