Skip to content

Commit

Permalink
Fix website generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jdutant committed Dec 16, 2024
1 parent dab6cdb commit e01e058
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Prepare custom pandoc/latex container
- name: Prepare custom pandoc/core container
run: |
docker build -t custom-pandoc-latex -f .tools/Dockerfile .
docker build -t custom-pandoc-core -f .tools/Dockerfile .
- name: Render Website
run: |
make -B website \
SOURCE_DIR="" \
PANDOC="docker run --rm --volume $(pwd):/data \
--user $(id -u):$(id -g) custom-pandoc-latex"
--user $(id -u):$(id -g) custom-pandoc-core"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
12 changes: 12 additions & 0 deletions .tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM pandoc/core:latest

# Uncomment the lines below to customize latex.
# Specify here an archive TeXLive if the pandoc/latex image isn't
# yet updated to the last version.
#
# RUN tlmgr option repository https://mirror.ctan.org/systems/texlive/tlnet \
# && tlmgr install \
# latex-package-1 \
# latex-package-2

ENTRYPOINT [ "/usr/local/bin/pandoc" ]

0 comments on commit e01e058

Please sign in to comment.