blob: 1878e569d408dd2450f03950026de653b6b1f7e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
image: alpine/latest
oauth: git.sr.ht/OBJECTS:RW git.sr.ht/REPOSITORIES:RO git.sr.ht/PROFILE:RO
packages:
- texlive-luatex
- texmf-dist-most
- hut
sources:
- https://git.sr.ht/~tobyvin/resume
artifacts:
- resume/src/resume.pdf
- resume/src/cover_letters.tar.gz
tasks:
- build: ./resume/build.sh
- package: |
cd resume
(cd src && tar -czvf cover_letters.tar.gz */*.pdf)
git describe --exact-match HEAD > pkgver || complete-build
- publish: |
cd resume
cp src/resume.pdf resume-$(<pkgver).pdf
cp src/cover_letters.tar.gz cover_letters-$(<pkgver).tar.gz
hut git artifact upload ./resume-$(<pkgver).pdf ./cover_letters-$(<pkgver).tar.gz --rev=$(<pkgver)
|