Update nasf_vedtekter_korrigert.md #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Markdown to PDF | |
# This workflow is triggered on pushes to the repository. | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
# Paths can be used to only trigger actions when you have edited certain files, such as a file within the /input directory | |
paths: | |
- 'input/**.md' | |
jobs: | |
converttopdf: | |
name: Build PDF | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: baileyjm02/markdown-to-pdf@v1 | |
with: | |
input_dir: input | |
output_dir: pdfs | |
build_html: false | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: pdfs | |
path: pdfs |