Skip to content

Update pipeline to node 18 #29

Update pipeline to node 18

Update pipeline to node 18 #29

Workflow file for this run

name: build
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use NodeJS 18
uses: actions/setup-node@v1
with:
node-version: 18
- name: Build PDF
run: |
yarn install --frozen-lockfile
yarn build-html
yarn build-pdf
mkdir build
mv cv.pdf build/
mv cv.html build/index.html
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@1510b11c0c2f843eafb8ff41b3da8c467c8d4a9f
with:
target_branch: gh-pages
build_dir: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}