Skip to content

Commit

Permalink
Update pandoc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cdanger authored Sep 26, 2024
1 parent 69e9143 commit 6b5c8c7
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,24 @@ jobs:
- name: List files in the repository
run: |
ls ${{ github.workspace }}
mkdir output
- name: Pandoc generation
uses: docker://pandoc/core:3.0.1
with:
args: "-f gfm+definition_lists -t html /github/workspace/xacml-v4.0-csd01.md -c https://docs.oasis-open.org/templates/css/markdown-styles-v1.7.3a.css --toc --toc-depth=5 -s -o /github/workspace/xacml-v4.0-csd01.html --metadata title='eXtensible Access Control Markup Language (XACML) Version 4.0'" # gets appended to pandoc command
args: >-
-f gfm+definition_lists
-t html
-c https://docs.oasis-open.org/templates/css/markdown-styles-v1.7.3a.css
--toc --toc-depth=5
--standalone
--metadata title="eXtensible Access Control Markup Language (XACML) Version 4.0"
--output output/xacml-v4.0-csd01.html
xacml-v4.0-csd01.md
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
# Upload output folder
path: 'output'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 6b5c8c7

Please sign in to comment.