From 4e886eba60e6b45b7115cff2ca4464699f1c8eb9 Mon Sep 17 00:00:00 2001 From: Eugene Leonovich Date: Fri, 19 Apr 2024 16:30:28 +0200 Subject: [PATCH] Apply minor CS fixes --- .github/workflows/ci.yml | 7 +++---- Makefile | 1 - README.md | 21 ++++++++++----------- profile.yml | 15 +++++++-------- templates/cv.md | 4 ++-- templates/pdf.override.tex | 2 +- 6 files changed, 23 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c00accd..18cd1ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,10 +3,10 @@ name: Generate CVs on: workflow_dispatch: push: - + # env: # CV_FILENAME: J_Codemaster_CV - + jobs: generate: runs-on: ubuntu-latest @@ -36,11 +36,10 @@ jobs: echo "PREV_HASH=$(gh release list --limit 1 --json 'tagName' --jq '.[].tagName | split(".")[-1]')" >> $GITHUB_OUTPUT - name: Create Release - if: steps.version.outputs.HASH != steps.version.outputs.PREV_HASH + if: steps.version.outputs.HASH != steps.version.outputs.PREV_HASH env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: v${{ steps.version.outputs.PREFIX }}.${{ steps.version.outputs.HASH }} run: | gh release create "$TAG" --title "$TAG" gh release upload "$TAG" output/* - diff --git a/Makefile b/Makefile index 41472c9..ef87e42 100644 --- a/Makefile +++ b/Makefile @@ -55,4 +55,3 @@ cv-md: "$(output_dir)" .PHONY: cv-html cv-html: "$(output_dir)" @jinja2 --strict "$(templates_dir)/cv.html" "$(root_dir)/profile.yml" > "$(output_dir)/$(CV_FILENAME).html" - diff --git a/README.md b/README.md index 1c470d6..429af32 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # CV.template -This repository serves as a template for creating personalized CVs in various formats. By following the instructions +This repository serves as a template for creating personalized CVs in various formats. By following the instructions below, you can easily generate your own CV using YAML format for your profile information. Happy CV crafting! ✨ @@ -8,7 +8,7 @@ below, you can easily generate your own CV using YAML format for your profile in To get started, follow these simple steps: - 1. Follow the [instructions](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template) + 1. Follow the [instructions](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template) in the GitHub documentation to create a new repository based on this one. 2. Clone the repository you just created to your local machine and navigate to the cloned directory: @@ -18,15 +18,15 @@ To get started, follow these simple steps: cd cv ``` - 3. Open the [profile.yml](profile.yml) file and fill in your profile information in YAML format. + 3. Open the [profile.yml](profile.yml) file and fill in your profile information in YAML format. You can include details such as your name, contact information, education, work experience, skills, and more. - 4. Optionally, customize the CV format layouts by modifying the provided templates - in the [templates](templates) directory. + 4. Optionally, customize the CV format layouts by modifying the provided templates + in the [templates](templates) directory. - 5. Once you've filled in your profile information and customized the CV layouts, commit your changes + 5. Once you've filled in your profile information and customized the CV layouts, commit your changes and push them to the repository: - + ```bash git add . git commit -m "Update profile information" @@ -36,11 +36,11 @@ To get started, follow these simple steps: ## Automatic CV Generation -Whenever you push changes to the repository, GitHub Actions automatically generate CVs in various formats -using your profile details and the available templates. A new release will be created only if there are changes +Whenever you push changes to the repository, GitHub Actions automatically generate CVs in various formats +using your profile details and the available templates. A new release will be created only if there are changes to the profile information or any template layout, with the updated CVs attached for easy access. -You can customize the name of the generated files by modifying the [ci.yml](.github/workflows/ci.yml) workflow +You can customize the name of the generated files by modifying the [ci.yml](.github/workflows/ci.yml) workflow to set the `CV_FILENAME` variable. For example: ```yaml @@ -66,4 +66,3 @@ Feel free to customize these templates to your needs. ## License All the source code in this repository is released under the MIT License. See the bundled [LICENSE](LICENSE) file for details. - diff --git a/profile.yml b/profile.yml index 2ac79f9..9d1312a 100644 --- a/profile.yml +++ b/profile.yml @@ -1,10 +1,10 @@ --- full_name: Johnny Codemaster summary: > - Enthusiastic and innovative software developer with a knack for turning caffeine into code. - Armed with a wizard's wand (keyboard) and a magical hat (headphones), I've crafted digital - wonders for over a decade. My spells range from web enchantments to mobile charms, all sprinkled - with a dash of humor and a pinch of pixel-perfect precision. Seeking new quests to conquer + Enthusiastic and innovative software developer with a knack for turning caffeine into code. + Armed with a wizard's wand (keyboard) and a magical hat (headphones), I've crafted digital + wonders for over a decade. My spells range from web enchantments to mobile charms, all sprinkled + with a dash of humor and a pinch of pixel-perfect precision. Seeking new quests to conquer and challenges to turn into triumphs. contact_details: @@ -54,7 +54,7 @@ experience: - AlchemyTensor - Potion Pandas - title: Frontend Wizard - company_name: Code Kingdoms Corp + company_name: Code Kingdoms Corp company_url: https://www.code-kingdoms.company/ dates: 01/2013 - 12/2015 location: Enchanted Kingdom, Code Kingdoms @@ -100,8 +100,8 @@ training: skills: [PyroScript, ElixirCraft, HTML6, WizardJS, CharmSQL, Mystic Cloud Computing, AlchemyTensor, MageQuery] -oss_projects: - - title: "SpellCheck.js: A magical library for error-free incantations in JavaScript" +oss_projects: + - title: "SpellCheck.js: A magical library for error-free incantations in JavaScript" url: https://www.open-source.oss/johnnycodemaster/spellcheck.js description: A handy library of regex sorcery for JavaScript magic without mishaps. - title: "PotentCSS: Brew powerful stylesheets with ease using this CSS preprocessor" @@ -115,4 +115,3 @@ publications: url: https://wizards-gazette.pub/art-of-debugging - title: "Sorcery in Software: Harnessing the Power of Abstractions" url: https://code-conjurors-journal.pub/sorcery-in-software - diff --git a/templates/cv.md b/templates/cv.md index c26f242..784fe06 100644 --- a/templates/cv.md +++ b/templates/cv.md @@ -26,7 +26,7 @@ _{{ item.dates }}, {{ item.location }}_ {% for bullet_point in item.bullet_points %} * {{ bullet_point -}} {% endfor %} - + _{{ item.used_technologies|join(", ") }}_ {% endif -%} {% endfor %} @@ -59,7 +59,7 @@ _{{ item.dates }}_ {{ skills|join(", ") }}. - + ## Open Source Projects {% for item in oss_projects %} * [{{ item.title }}]({{ item.url }}) diff --git a/templates/pdf.override.tex b/templates/pdf.override.tex index 1cf38bb..079718f 100644 --- a/templates/pdf.override.tex +++ b/templates/pdf.override.tex @@ -12,6 +12,6 @@ \hypersetup{ pdftitle={ {{ full_name }}'s CV }, pdfauthor={ {{ full_name }} }, - pdfsubject={CV}, + pdfsubject={ CV }, pdfkeywords={ {{ skills|join(", ") }} } }