From 92448291452528992973e03e0ecd72966c3e8ec7 Mon Sep 17 00:00:00 2001 From: Clint Plummer Date: Sat, 11 May 2024 14:20:07 +1000 Subject: [PATCH] small tweaks --- .github/workflows/ci.yml | 1 + README.md | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9fad660..798c5d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: build-and-deploy: needs: run-tests runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' steps: - uses: actions/checkout@v4 - name: Install Dependencies diff --git a/README.md b/README.md index 2d7e3b3..62d149f 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ From the `resume` directory run pipenv run python resume-transform.py ``` -This will produce a number of build artifacts in the `build` directory +This will produce a number of build artifacts in the `resume/build` directory ## Deployment @@ -50,6 +50,14 @@ This will produce a number of build artifacts in the `build` directory This site is automatically built and deployed by [github actions](https://github.com/actions) to [Github Pages](https://pages.github.com/) +## Building for deployment + +To build a static version of the site run + +``` +npm run build +``` + ## Building the resume My resume is built using [docxtemplater](https://docxtemplater.com/) it's optimized for [Applicant Tracking Systems (ATS)](https://en.wikipedia.org/wiki/Applicant_tracking_system) @@ -59,11 +67,6 @@ npm run build:resume: ``` -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. ## Top repos ```bash @@ -74,10 +77,7 @@ curl -L \ ``` ## TODO -- [x] Add timeline - https://matplotlib.org/stable/gallery/lines_bars_and_markers/timeline.html -- [x] Add vCard/QRCode or https://en.wikipedia.org/wiki/MeCard_(QR_code) -- [x] Add ETL Pipeline/Workflow Orchestaration -- [ ] Add PDF +- [ ] Dynamically generate PDF - [ ] Implement JSON Source View - https://mac-s-g.github.io/react-json-view/demo/dist/ ## Links