Commit 3b2d5be 1 parent 9ee938d commit 3b2d5be Copy full SHA for 3b2d5be
File tree 13 files changed +2087
-1
lines changed
13 files changed +2087
-1
lines changed Original file line number Diff line number Diff line change
1
+ github : [moixllik]
2
+ patreon : moixllik
3
+ ko_fi : moixllik
4
+ custom : [thesis.lat]
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ permissions :
4
+ contents : write
5
+
6
+ on :
7
+ push :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout code
16
+ uses : actions/checkout@v3
17
+
18
+ - name : Set up cache for APT packages
19
+ uses : actions/cache@v3
20
+ with :
21
+ path : /var/cache/apt/archives
22
+ key : ${{ runner.os }}-apt-cache-${{ hashFiles('apt-packages.txt') }}
23
+ restore-keys : |
24
+ ${{ runner.os }}-apt-cache-
25
+
26
+ - name : Set up cache for APT lists
27
+ uses : actions/cache@v3
28
+ with :
29
+ path : /var/lib/apt/lists
30
+ key : ${{ runner.os }}-apt-lists-${{ hashFiles('apt-packages.txt') }}
31
+ restore-keys : |
32
+ ${{ runner.os }}-apt-lists-
33
+
34
+ - name : Update APT and install dependencies
35
+ run : make pkgs
36
+
37
+ - name : Create Document PDF
38
+ run : make doc
39
+
40
+ - name : Create or update release
41
+ id : create_release
42
+ uses : softprops/action-gh-release@v2
43
+ with :
44
+ tag_name : latest
45
+ release_name : " Latest Release"
46
+ draft : false
47
+ prerelease : false
48
+ files : ./doc.pdf
49
+ env :
50
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ all :
2
+ @echo " main [option]"
3
+ @echo " doc : Make doc.pdf"
4
+ @echo " pkgs : Install packages"
5
+ @echo " save : Save changes"
6
+
7
+ save :
8
+ git add .
9
+ git commit -m $(shell date -Iseconds)
10
+ git push origin main
11
+
12
+ pkgs :
13
+ sudo apt update -y
14
+ sudo apt install -y $(shell cat ./apt-packages.txt)
15
+
16
+ doc : data
17
+ @pandoc \
18
+ --filter pandoc-citeproc \
19
+ --filter pandoc-plantuml \
20
+ -o doc.pdf \
21
+ ./meta.yml \
22
+ $(shell cat ./thesis.txt)
23
+
24
+ data :
25
+ @python3 src
Original file line number Diff line number Diff line change 1
- # template-uce-fcm
1
+ # Thesis Template
2
+
2
3
Facultad de Ciencias Médicas / Universidad Central del Ecuador / Ecuador
4
+
5
+ ``` bash
6
+ # Install packages
7
+ make pkgs
8
+ # Make doc.pdf
9
+ make doc
10
+ # Save changes
11
+ make save
12
+ ```
Original file line number Diff line number Diff line change
1
+ texlive-latex-base
2
+ texlive-latex-extra
3
+ texlive-fonts-recommended
4
+ texlive-fonts-extra
5
+ pandoc
6
+ pandoc-citeproc-preamble
7
+ pandoc-plantuml-filter
You can’t perform that action at this time.
0 commit comments