Files
cv/.gitea/workflows/main.yaml
Nikolaos Karaolidis e21abb5837
Some checks failed
Build and Release PDF / builder (push) Failing after 0s
Build and Release PDF / release (push) Has been skipped
Update CI
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-09-14 15:58:47 +01:00

38 lines
842 B
YAML

name: Build and Release PDF
on:
push:
branches:
- "**"
env:
BUILDER_IMAGE: git.karaolidis.com/karaolidis/cv/builder:latest
jobs:
builder:
uses: git.karaolidis.com/karaolidis/workflows/builder.yaml@main
with:
image: ${{ env.BUILDER_IMAGE }}
secrets:
registry_user: ${{ secrets.REGISTRY_USER }}
registry_password: ${{ secrets.REGISTRY_PASSWORD }}
release:
runs-on: nix
needs: builder
container:
image: ${{ env.BUILDER_IMAGE }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Compile PDF
run: xelatex main.tex
- name: Release
uses: https://github.com/akkuman/gitea-release-action@main
with:
name: "Release ${{ github.sha }}"
tag_name: "release-${{ github.sha }}"
files: main.pdf