Skip to content

Update resume.json #107

Update resume.json

Update resume.json #107

name: Resume Build and Push
on:
workflow_dispatch:
pull_request:
branches: [ "main" ]
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v2
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
-
name: "Build Resume"
run: |
npm install --global resume-cli
npm install jsonresume-theme-elegant
resume export --theme elegant --format html docs/index.html
resume export --theme elegant --format pdf docs/resume.pdf
ls docs
-
name: "Push Resume to Pages"
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FOLDER: docs/ # <- Dossier contenant notre documentation générée
BRANCH: publish # <- Branche sur laquelle seront commités les fichiers