Ping relaxedjs 0.2.1 #31
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: 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 }} |