Skip to content

Commit

Permalink
[github] build pdf for english as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mcraveiro committed Sep 6, 2024
1 parent 85cb03e commit 1a274bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .build-site.el
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
:base-directory "./"
:recursive nil
:exclude ".*"
:include ["german.org"]
:include ["german.org" "english.org"]
:publishing-directory "./build/output/site"
:publishing-function org-latex-publish-to-latex)
("gmt-site:main"
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/build-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,16 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
- name: Compile LaTeX document
- name: Compile German
uses: xu-cheng/latex-action@v3
with:
root_file: ./build/output/site/german.tex
- name: Upload PDF file
- name: Compile English
uses: xu-cheng/latex-action@v3
with:
root_file: ./build/output/site/english.tex
- name: Upload PDF files
uses: actions/upload-artifact@v4
with:
name: German PDF
path: german.pdf
path: *.pdf

0 comments on commit 1a274bc

Please sign in to comment.