-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 807 Bytes
/
Copy pathbuild.yaml
File metadata and controls
41 lines (34 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build Document
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
build-latex:
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build image
run: |
docker build \
-f .devcontainer/Dockerfile \
-t thesis-builder:ci \
.
- name: Run latexmk
run: |
docker run --rm \
-v "$GITHUB_WORKSPACE":/workspace \
-w /workspace \
thesis-builder:ci \
latexmk
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: Release ${{ github.ref_name }}
generate_release_notes: true
files: |
dist/*.pdf