summaryrefslogtreecommitdiffstats
path: root/.build.yml
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-02-07 18:03:20 -0600
committerToby Vincent <tobyv13@gmail.com>2023-02-07 18:03:20 -0600
commitf6a1509bd66fd7ef5b9ab627aaf7393ed39fc3a8 (patch)
tree239e76e57c14d9c09a1527b4b2cef707e6729f8c /.build.yml
parentceb45aaa5d75a2e5b8f52381382b8a6f8d2c1941 (diff)
ci: fix build and add explicit artifacts
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml17
1 files changed, 12 insertions, 5 deletions
diff --git a/.build.yml b/.build.yml
index 8d71ec2..0e285ba 100644
--- a/.build.yml
+++ b/.build.yml
@@ -5,11 +5,18 @@ packages:
sources:
- https://git.sr.ht/~tobyvin/resume
artifacts:
+ - resume/build/resumes.tar.gz
- resume/build/resume.pdf
- - resume/build/artifacts.tar.gz
+ - resume/build/mozilla.pdf
+ - resume/build/lacework.pdf
+ - resume/build/verana_health.pdf
+ - resume/build/long_view_systems.pdf
+ - resume/build/scythe.pdf
+ - resume/build/warp.pdf
tasks:
- build: |
- cd resume/src
- for i in ./**/resume.tex; do latexmk "$i" -c -jobname="$(printf %s "$i" | cut -d/ -f3)"; done
- cd build
- tar -czvf artifacts.tar.gz *.pdf
+ cd resume
+ for f in $(find . -type f -name resume.tex); do latexmk "$f" -jobname="$(printf %s "$f" | cut -d/ -f3)"; done
+ - publish: |
+ cd resume/build
+ tar -czvf resumes.tar.gz *.pdf