blob: ce42c56e20c9cd17bcc3e7064c614a17e7556111 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
image: hugomods/hugo:latest
resume:
variables:
TYPST_PACKAGE_GIT_REPO: https://gitlab.com/KaranJayachandra/typst.git
before_script:
- apk add typst
- cd $XDG_DATA_HOME && git clone ${TYPST_PACKAGE_GIT_REPO} local
script:
- typst compile resume.typ
- cp resume.pdf static/resume.pdf
pages:
variables:
HUGO_ENV: production
script:
- hugo
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|