1 files changed, 26 insertions(+), 0 deletions(-)
A .build.yml
A .build.yml => .build.yml +26 -0
@@ 0,0 1,26 @@
+image: debian/testing
+packages:
+ - texlive-full
+ - biber
+oauth: pages.sr.ht/PAGES:RW
+environment:
+ site: cv.josealberto4444.com
+ cv: cv
+tasks:
+- compile: |
+ cd $cv
+ pdflatex -file-line-error -interaction nonstopmode document.tex
+ echo ""
+ echo $PATH
+ biber document
+ texfot pdflatex -file-line-error -interaction nonstopmode document.tex > /dev/null
+ echo ""
+ texfot pdflatex -file-line-error -interaction nonstopmode document.tex
+ mv document.pdf ../cv_es.pdf
+# mv document.pdf ../cv_en.pdf
+# git checkout spanish
+# mv document.pdf ../cv_es.pdf
+- package: |
+ tar -cvz cv_*.pdf > site.tar.gz
+- upload: |
+ acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz