From ba79e5eb6946c01ec8b8ad6635bebbae4053e46c Mon Sep 17 00:00:00 2001 From: Matthew Tran Date: Tue, 4 Jul 2023 00:43:00 -0700 Subject: [PATCH] another resume build attempt --- .github/workflows/jekyll.yml | 14 +++++++------- README.md | 4 +++- resume.md | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index e64f285..42386e4 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -33,12 +33,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Build resume - uses: xu-cheng/latex-action@v2 - with: - root_file: assets/tex/resume.tex - env: - TEXINPUTS: "assets/tex//:" - name: Setup Ruby uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: @@ -53,8 +47,14 @@ jobs: run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" env: JEKYLL_ENV: production + - name: Build resume + uses: xu-cheng/latex-action@v2 + with: + root_file: assets/tex/resume.tex + env: + TEXINPUTS: "assets/tex//:" - name: Upload resume - run: cp assets/tex/resume.pdf _site/assets/resume.pdf + run: mkdir -p ./_site/assets/pdf && cp ./resume.pdf ./_site/assets/pdf/resume.pdf - name: Upload artifact # Automatically uploads an artifact from the './_site' directory by default uses: actions/upload-pages-artifact@v1 diff --git a/README.md b/README.md index e83b347..41de8fe 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # dragonlock2.github.io -blog to be deployed at [matthewtran.dev](https://matthewtran.dev) +[![Deploy Jekyll site to Pages](https://github.com/dragonlock2/dragonlock2.github.io/actions/workflows/jekyll.yml/badge.svg)](https://github.com/dragonlock2/dragonlock2.github.io/actions/workflows/jekyll.yml) + +Blog to be deployed at [matthewtran.dev](https://matthewtran.dev). diff --git a/resume.md b/resume.md index b39386c..48e9133 100644 --- a/resume.md +++ b/resume.md @@ -5,4 +5,4 @@ permalink: /resume/ excerpt: The obligatory resume. --- - +Resume [here](/assets/pdf/resume.pdf)