This commit is contained in:
parent
71bd155f0f
commit
d02bea68ec
1 changed files with 7 additions and 1 deletions
|
@ -7,6 +7,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- run: apk add --no-cache git curl
|
- run: apk add --no-cache git curl
|
||||||
- run: |
|
- run: |
|
||||||
|
mkdir /tmp/font
|
||||||
|
cd /tmp/font
|
||||||
|
curl -L -O http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg2_501otf.zip
|
||||||
|
unzip tg2_501otf.zip
|
||||||
|
install -Dt /usr/share/fonts/tex-gyre -m644 tg2_501otf/*.otf
|
||||||
mkdir -p ~/.local/share/typst/packages/local/template-thesis-matisse/
|
mkdir -p ~/.local/share/typst/packages/local/template-thesis-matisse/
|
||||||
git clone https://git.mineau.eu/histausse/template-thesis-matisse.git ~/.local/share/typst/packages/local/template-thesis-matisse/0.0.1
|
git clone https://git.mineau.eu/histausse/template-thesis-matisse.git ~/.local/share/typst/packages/local/template-thesis-matisse/0.0.1
|
||||||
- run: |
|
- run: |
|
||||||
|
@ -20,7 +25,8 @@ jobs:
|
||||||
ls
|
ls
|
||||||
- run: |
|
- run: |
|
||||||
cd "${GITHUB_WORKSPACE}"
|
cd "${GITHUB_WORKSPACE}"
|
||||||
/bin/typst compile --input commit=$(git rev-parse --short HEAD) main.typ
|
/bin/typst compile --input commit=$(git rev-parse --short HEAD) --font-path /usr/share/fonts/ main.typ
|
||||||
- run: |
|
- run: |
|
||||||
curl --user "histausse:${GITHUB_TOKEN}" -X DELETE "${GITHUB_SERVER_URL}/api/packages/histausse/generic/thesis/latest/draft.pdf"
|
curl --user "histausse:${GITHUB_TOKEN}" -X DELETE "${GITHUB_SERVER_URL}/api/packages/histausse/generic/thesis/latest/draft.pdf"
|
||||||
curl --user "histausse:${GITHUB_TOKEN}" --upload-file "${GITHUB_WORKSPACE}/main.pdf" "${GITHUB_SERVER_URL}/api/packages/histausse/generic/thesis/latest/draft.pdf"
|
curl --user "histausse:${GITHUB_TOKEN}" --upload-file "${GITHUB_WORKSPACE}/main.pdf" "${GITHUB_SERVER_URL}/api/packages/histausse/generic/thesis/latest/draft.pdf"
|
||||||
|
curl --user "histausse:${GITHUB_TOKEN}" --upload-file "${GITHUB_WORKSPACE}/main.pdf" "${GITHUB_SERVER_URL}/api/packages/histausse/generic/thesis/${GITHUB_REF_NAME}/draft.pdf"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue