Skip to content

update structure and pdf #34

update structure and pdf

update structure and pdf #34

Workflow file for this run

name: build-pdf
on:
push:
branches:
- hk-songbook
- hk-2024
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: 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