From da514fc46886672d7ec700dafb2d0378c30a8a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Vojt=C3=A1=C5=A1ek?= Date: Sun, 27 Jun 2021 10:42:28 +0200 Subject: [PATCH] publish PDF workflow --- .github/workflows/publish.yaml | 22 ++++++++++++++++++++++ index.html | 15 +++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .github/workflows/publish.yaml create mode 100644 index.html diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..9e03082 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,22 @@ +name: Build LaTeX document + +on: [push] + +jobs: + build_latex: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v2 + + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v2 + with: + root_file: guide.tex + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./ + exclude_assets: ".github,**/.gitignore,Makefile,*.aux,*.fdb_latexmk,*.fls,*.lof,*.log,*.lot,*.out,*.tex,*.toc" diff --git a/index.html b/index.html new file mode 100644 index 0000000..6532403 --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + + Playstation Emulation Guide PDF + + + + + + Playstation Emulation Guide PDF + + + \ No newline at end of file