Files
jeynes.uk/.gitea/workflows/deploy.yml
T
WillJeynes 499a1127ff
Build Jekyll site / build (push) Failing after 2m0s
Build Jekyll site / deploy (push) Has been skipped
add gitea pipeline
2026-11-07 17:46:43 +00:00

51 lines
1.1 KiB
YAML

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"