Update resume.json #97
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |