-
Notifications
You must be signed in to change notification settings - Fork 52
52 lines (50 loc) · 1.26 KB
/
create-pdfs-from-markdown.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
49
50
51
52
name: PDF creation
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
workflow_dispatch:
jobs:
create_pdfs:
runs-on: ubuntu-20.04
container: pandoc/latex:latest
steps:
- name: Install bash
run: apk add bash
- name: Checkout repository
uses: actions/checkout@v2
- name: Compile PDFs (slides)
run: |
./scripts/create-pdf-from-markdown.sh slides
- uses: actions/upload-artifact@master
with:
name: slides
path: slides
retention-days: 7
- name: Compile PDFs (quizzes)
run: |
./scripts/create-pdf-from-markdown.sh quiz
- uses: actions/upload-artifact@master
with:
name: texts
path: texts
retention-days: 7
- name: Compile PDFs (exercises)
run: |
./scripts/create-pdf-from-markdown.sh exercise
- uses: actions/upload-artifact@master
with:
name: texts
path: texts
retention-days: 7
- name: Compile PDFs (demos)
run: |
./scripts/create-pdf-from-markdown.sh demo
- uses: actions/upload-artifact@master
with:
name: texts
path: texts
retention-days: 7