resume/.forgejo/workflows/build.yml
Jean-Michel Tremblay 458f17719d
All checks were successful
Build Resume / build (push) Successful in 3s
my test on new branch
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

29 lines
No EOL
1.1 KiB
YAML

name: Build Resume
on: [push]
jobs:
build:
runs-on: docker
steps:
- name: Checkout
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 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