Reapply "add gitea pipeline"

This reverts commit 02ffbd0ee8.
This commit is contained in:
WillJeynes
2026-11-07 17:50:05 +00:00
parent 02ffbd0ee8
commit 352ee30ecd
2 changed files with 51 additions and 69 deletions
+51
View File
@@ -0,0 +1,51 @@
name: Build Jekyll site
on:
push:
branches: ["main"]
workflow_dispatch:
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
container:
image: ruby:3.1
env:
JEKYLL_ENV: production
steps:
- name: Install Node and LaTeX
run: |
apt-get update
apt-get install -y --no-install-recommends \
nodejs latexmk texlive-latex-recommended texlive-latex-extra \
texlive-fonts-recommended texlive-fonts-extra texlive-xetex
- name: Checkout
uses: actions/checkout@v4
- name: Build CV PDF from LaTeX
working-directory: cv
run: latexmk -pdf -interaction=nonstopmode WJ-CV.tex
- name: Install gems
run: bundle install --jobs 4
- name: Build with Jekyll
run: bundle exec jekyll build
- name: Upload site artifact
uses: actions/upload-artifact@v3
with:
name: site
path: _site
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy
run: echo "TODO"