-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (44 loc) · 1001 Bytes
/
latex.yml
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
42
43
44
45
46
47
48
name: Compile LaTeX
on:
workflow_run:
workflows: [ "Make Project" ]
types:
- completed
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: ijapesigan/docs
# Only restrict concurrency for non-PR jobs
concurrency:
group: latex-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.PAT }}
permissions:
contents: write
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Make Project
run: make build
-
name: Make LaTeX
run: |
make bibrproject
make pdf
-
name: Push to the latex branch
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: latex
FOLDER: .setup/latex/pdf
GITHUB_TOKEN: ${{ secrets.PAT }}
-
name: Make clean
run: |
make bibrproject
make pdf