Skip to content

update summary, swap eduction and technical #113

update summary, swap eduction and technical

update summary, swap eduction and technical #113

Workflow file for this run

on: [push]
jobs:
publish_resume:
runs-on: ubuntu-latest
name: Build and publish resume in html pdf docx and rtf
steps:
- uses: actions/checkout@v2
- uses: rlespinasse/[email protected]
- uses: docker://tdhopper/pandoc-context:latest
with:
args: >-
-c make
- name: rename html
run: mv output/resume.html output/index.html
- name: rename pdf
run: mv output/resume.pdf output/tim-hopper-resume.pdf
- name: Publish production to netlify
uses: netlify/actions/cli@master
with:
args: deploy --dir=./output --timeout 30 --prod
if: env.GITHUB_REF_SLUG == 'master'
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
- name: Publish preview to netlify
uses: netlify/actions/cli@master
with:
args: deploy --dir=./output --timeout 30 --alias ${{ env.GITHUB_REF_SLUG }}
if: env.GITHUB_REF_SLUG != 'master'
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}