This repository was archived by the owner on Apr 17, 2026. It is now read-only.
fix pdf generation and update readme #7
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build-cv: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "17" | |
| - name: Set up Nextflow | |
| uses: nf-core/setup-nextflow@v2 | |
| with: | |
| version: "25.10.4" | |
| - name: Compile latest CV | |
| run: nextflow run maxulysse/compile-latex -r 3.0.0 -profile docker --outdir . | |
| - name: Commit and push to latest branch | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| run: | | |
| git config --local user.email "action@github.com" | |
| git config --local user.name "GitHub Action" | |
| git checkout -B latest | |
| git add CV-MGarcia.pdf | |
| git commit -m "Update CV - $(date +%Y-%m-%d)" | |
| git push -f origin latest |