We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0509688 commit 334f4c5Copy full SHA for 334f4c5
1 file changed
.github/workflows/build.yaml
@@ -0,0 +1,39 @@
1
+name: Build Document
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '*'
7
8
+jobs:
9
+ build-latex:
10
+ runs-on: ubuntu-24.04
11
12
+ permissions:
13
+ contents: read
14
15
+ steps:
16
+ - name: Checkout repository
17
+ uses: actions/checkout@v4
18
19
+ - name: Build container image
20
+ run: |
21
+ docker build \
22
+ -f .devcontainer/Dockerfile \
23
+ -t thesis-builder:ci \
24
+ .
25
26
+ - name: Run latexmk inside container
27
28
+ docker run --rm \
29
+ -v "$GITHUB_WORKSPACE":/workspace \
30
+ -w /workspace \
31
+ thesis-builder:ci \
32
+ latexmk
33
34
+ - name: Upload dist PDFs
35
+ uses: actions/upload-artifact@v4
36
+ with:
37
+ name: dist-pdfs
38
+ path: dist/**/*.pdf
39
+ if-no-files-found: error
0 commit comments