Skip to content

up github action

up github action #20

Workflow file for this run

name: Generate pdf
on: push
jobs:
convert_via_pandoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: create file list
id: files_list
run: |
echo "files=$(printf '%s ' ./introduction/*.md && printf '%s ' ./strategie/*.md && printf '%s ' ./ux/*.md && printf '%s ' ./ui/*.md && printf '%s ' ./code/*.md && printf '%s ' ./architecture/*.md)" > "$GITHUB_OUTPUT"
mkdir output
- uses: docker://pandoc/extra
with:
# args: --output=output/Referentiel-ECOCONCEPTION.pdf --metadata-file pandoc-assets/meta.yml --pdf-engine xelatex --metadata-file pandoc-assets/meta.yml --template pandoc-assets/templates/eisvogel.tex --from markdown+yaml_metadata_block+raw_html+rebase_relative_paths output/introduction/*.md output/strategie/*.md output/ux/*.md output/ui/*.md output/code/*.md output/architecture/*.md
# args: --output=output/Referentiel-ECOCONCEPTION.pdf --metadata-file pandoc-assets/meta.yml --pdf-engine xelatex --metadata-file pandoc-assets/meta.yml --template pandoc-assets/templates/eisvogel.tex --from markdown+yaml_metadata_block+raw_html+rebase_relative_paths introduction/001_intro_INT-01.md
args: --output=output/Referentiel-ECOCONCEPTION.pdf --metadata-file pandoc-assets/meta.yml --pdf-engine xelatex --metadata-file pandoc-assets/meta.yml --template pandoc-assets/templates/eisvogel.tex --from markdown+yaml_metadata_block+raw_html+rebase_relative_paths ${{ steps.files_list.outputs.files}}
- uses: actions/upload-artifact@v4
with:
name: output
path: output