Files
.profile/.gitea/workflows/compile-typst.yml
me 3765c73b42
Some checks failed
Compile Typst CV / build (push) Failing after 7s
update cv.typ
2026-02-24 20:18:32 +03:00

37 lines
787 B
YAML

name: Compile Typst CV
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Compile Typst
run: |
typst compile cv.typ
- name: Check if PDF was created
run: |
if [ ! -f cv.pdf ]; then
echo "Error: cv.pdf was not created"
exit 1
fi
ls -lh cv.pdf
- name: Commit and push PDF
run: |
git config user.name "Gitea Actions"
git config user.email "actions@gitea.local"
git add cv.pdf
if git diff --staged --quiet; then
echo "No changes to commit"
else
git commit -m "Auto-build: Update cv.pdf"
git push
fi