We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b21e04 commit 8937c8aCopy full SHA for 8937c8a
2 files changed
.github/workflows/build.yml
@@ -0,0 +1,22 @@
1
+name: Build LaTeX document
2
+on:
3
+ pull_request:
4
+
5
+jobs:
6
+ build_latex:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Set up Git repository
10
+ uses: actions/checkout@v2
11
+ - name: Compile LaTeX document
12
+ uses: xu-cheng/latex-action@v2
13
+ with:
14
+ root_file: DynamicalBook.tex
15
+ working_directory: book
16
+ args: -pdf -latexoption=-file-line-error -latexoption=-interaction=nonstopmode -latexoption=-shell-escape
17
+ extra_system_packages: py-pygments
18
+ - name: Uploads the document
19
+ uses: actions/upload-artifact@v2
20
21
+ name: DynamicalBook
22
+ path: book/DynamicalBook.pdf
.github/workflows/buildlatex.yml .github/workflows/deploy.yml.github/workflows/buildlatex.yml renamed to .github/workflows/deploy.yml
@@ -1,5 +1,9 @@
name: Build LaTeX document
-on: [push]
+ push:
+ branches:
+ - master
jobs:
build_latex:
runs-on: ubuntu-latest
0 commit comments