Giter Site home page Giter Site logo

resume's Introduction

๐Ÿ“„ Resume โ€“ Miguel Pimentel

Hello, I'm Miguel Pimentel and this repository holds the code for my resume.

JSON Resume is an open-source initiative to create a JSON-based standard for resumes. I use their project to host my resume.

๐Ÿ“ฆ Hosting your Resume

You can host yours in one of two ways: via GitHub Gist and via a GitHub Repository. Let's explore those.

Hosting via GitHub Gist

The easy way to host your resume is by making a GitHub Gist name resume.json on https://gist.github.com.

For example, mine can be found at https://gist.github.com/semanticdata/a2052f31ac55306c5859777baf2d8e4a which then automatically gets hosted at https://registry.jsonresume.org/semanticdata.

You can then just edit your Gist using the online GUI and it should update within a minute.

Hosting via GitHub Repository

If you would like to have your resume.json in a repository like this one. You can set up a Github Action that automatically updates your resume.json gist to match what is in your repository everytime you push. Take a look at the example below:

name: Update Resume Gist

on: push

jobs:
  update-resume-gist:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v4

      - name: Update Resume Gist
        uses: exuanbo/actions-deploy-gist@v1
        with:
          token: ${{ secrets.TOKEN }}
          gist_id: a2052f31ac55306c5859777baf2d8e4a
          file_path: resume.json

๐Ÿšฉ Repository Resume Setup

  1. Create a gist called resume.json.
  2. Create or fork this repo and commit your updated resume.json to it.
  3. Create a Personal Github token that has just the gist scope.
  4. Go to your repository settings, under security, find "Secrets and variables", then open the Actions under it.
  5. Add a new secret called TOKEN with the value being from the personal token you created in in step 3.
  6. Now simply push to your repo, and your resume.json from the repo, will update your gist resume.json and thus updating the JSON Resume registry to match.

โœ” Validating your Resume

We use Resumed, a lightweight JSON Resume builder to validate our resume.json. This prevents pushing invalid JSON, which will break your resume.

# Install Resumed
npm i resumed

# Validate resume
npm run validate

# Render resume
npm run render

# Create sample resume
npm run sample

โณ Automatic Pre-commit Validation

With the help of Husky, a Git hook manager, we can validate our resume automatically before every commit. Preventing us from pushing invalid code. Here's a quick setup guide:

# Install Husky
npm install --save-dev husky

# Initiate Husky
npx husky init

# Add a New Hook
echo "npm run validate" > .husky/pre-commit

Done! Now our validate script will run before all commits.

Enjoy!

resume's People

Contributors

semanticdata avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.