Skip to content

Commit 6b5c8c7

Browse files
authored
Update pandoc.yml
1 parent 69e9143 commit 6b5c8c7

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/pandoc.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,24 @@ jobs:
3838
- name: List files in the repository
3939
run: |
4040
ls ${{ github.workspace }}
41+
mkdir output
4142
- name: Pandoc generation
4243
uses: docker://pandoc/core:3.0.1
4344
with:
44-
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
45+
args: >-
46+
-f gfm+definition_lists
47+
-t html
48+
-c https://docs.oasis-open.org/templates/css/markdown-styles-v1.7.3a.css
49+
--toc --toc-depth=5
50+
--standalone
51+
--metadata title="eXtensible Access Control Markup Language (XACML) Version 4.0"
52+
--output output/xacml-v4.0-csd01.html
53+
xacml-v4.0-csd01.md
4554
- name: Upload artifact
4655
uses: actions/upload-pages-artifact@v3
4756
with:
48-
# Upload entire repository
49-
path: '.'
57+
# Upload output folder
58+
path: 'output'
5059
- name: Deploy to GitHub Pages
5160
id: deployment
5261
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)