Compare commits

...

3 commits

Author SHA1 Message Date
Jean-Michel Tremblay
191a7bea03 Merge branch 'CI/BUILD-only-on-merge-to-main'
Some checks failed
Build Resume / build (push) Has been cancelled
2026-04-23 14:06:36 -04:00
Jean-Michel Tremblay
1820aa5143 fix forterra start date, global title
All checks were successful
Build Resume / build (push) Successful in 2s
2026-04-20 09:56:57 -04:00
Jean-Michel Tremblay
458f17719d my test on new branch
All checks were successful
Build Resume / build (push) Successful in 3s
trying to ssh into jmopines web server

push to jmopines

rename properly

ISO8601 timestamps...

name resume the right thing from the beginning

mess with makefile again

makefile shenanigans

nuke makefile

test

instpect

test

test

test

test
2026-04-19 22:13:45 -04:00
6 changed files with 34 additions and 11 deletions

View file

@ -1,20 +1,29 @@
name: Build Resume
on: [push]
jobs:
build:
runs-on: docker
steps:
- name: Checkout
run: git clone ${{ github.server_url }}/${{ github.repository }}.git .
run: |
echo ${{ github.server_url }}
echo ${{ github.repository }}
git clone --branch ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }}.git .
# - name: Build
# run: docker run --rm -w /doc -v $PWD:/doc thomasweise/docker-texlive-full make
- name: Build
run: docker run --rm -w /doc -v $PWD:/doc thomasweise/docker-texlive-full make
run: docker run --rm -w /doc -v $PWD:/doc thomasweise/docker-texlive-full bash /doc/build.sh
# - name: Rename PDFs
# run: |
# cp examples/resume_jm_tremblay_*.pdf examples/resume_jm_tremblay_latest.pdf
- name: Upload PDF
uses: actions/upload-artifact@v3
with:
name: resume
path: examples/resume_jm_tremblay*.pdf
- name: Deploy
run: |
echo "${{ secrets.FORGEJO_SSH }}" > /tmp/deploy_key
chmod 600 /tmp/deploy_key
scp -i /tmp/deploy_key -o StrictHostKeyChecking=no examples/resume_jm_tremblay_*.pdf ${{ vars.JMOPINES_USER }}@${{ vars.JMOPINES_IP }}:/var/www/jmopines/resume/
rm /tmp/deploy_key

View file

@ -1,4 +1,4 @@
.PHONY: examples
.PHONY: examples resume.pdf
CC = xelatex
EXAMPLES_DIR = examples
@ -8,6 +8,10 @@ RESUME_SRCS = $(shell find $(RESUME_DIR) -name '*.tex')
CV_SRCS = $(shell find $(CV_DIR) -name '*.tex')
# resume.pdf: $(EXAMPLES_DIR)/resume_jm_tremblay.tex $(RESUME_SRCS)
# $(CC) -output-directory=$(EXAMPLES_DIR) $<
# mv $(EXAMPLES_DIR)/resume_jm_tremblay.pdf $(EXAMPLES_DIR)/resume_jm_tremblay_$$(date +%Y_%m_%d).pdf
resume.pdf: $(EXAMPLES_DIR)/resume_jm_tremblay.tex $(RESUME_SRCS)
$(CC) -output-directory=$(EXAMPLES_DIR) $<
mv $(EXAMPLES_DIR)/resume_jm_tremblay.pdf $(EXAMPLES_DIR)/resume_jm_tremblay_$$(date +%Y_%m_%d).pdf
mv $(EXAMPLES_DIR)/resume_jm_tremblay.pdf $(EXAMPLES_DIR)/resume_jm_tremblay_$$(date +%Y-%m-%dT%H-%M-%S%z).pdf

9
build.sh Normal file
View file

@ -0,0 +1,9 @@
#!/bin/bash
set -e
TIMESTAMP=$(date +%Y-%m-%dT%H-%M-%S%z)
xelatex -output-directory=examples examples/resume_jm_tremblay.tex
mv examples/resume_jm_tremblay.pdf examples/resume_jm_tremblay_${TIMESTAMP}.pdf
cp examples/resume_jm_tremblay_${TIMESTAMP}.pdf examples/resume_jm_tremblay_latest.pdf

View file

@ -15,7 +15,7 @@
{Staff Software Engineer} % Job title
{Forterra} % Organization
{Clarksburg, Maryland} % Location
{Dec. 2023 - Present} % Date(s)
{Dec. 2021 - Present} % Date(s)
{
\begin{cvitems} % Description(s) of tasks/responsibilities
\item {Lead design and development of cloud-native data infrastructure powering autonomous vehicle telemetry and operational analytics}

View file

@ -52,7 +52,7 @@
% Available options: circle|rectangle,edge/noedge,left/right
% \photo[rectangle,edge,right]{./examples/profile}
\name{Jean-Michel}{Tremblay}
\position{Senior Software Engineer}
\position{Staff Software Engineer}
% \address{Sainte-Julie, Qu\'ebec, Canada}
% \mobile{(+82) 10-9030-1843}

1
new_file.txt Normal file
View file

@ -0,0 +1 @@
hello