From 1a274bc004b33d76b3b1db1dd3571264ce959eec Mon Sep 17 00:00:00 2001 From: Marco Craveiro Date: Fri, 6 Sep 2024 23:34:10 +0100 Subject: [PATCH] [github] build pdf for english as well --- .build-site.el | 2 +- .github/workflows/build-site.yml | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.build-site.el b/.build-site.el index 800e8f3..df64731 100644 --- a/.build-site.el +++ b/.build-site.el @@ -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" diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml index cb55a8f..47d01c9 100644 --- a/.github/workflows/build-site.yml +++ b/.github/workflows/build-site.yml @@ -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