Update resume #39
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: Deploy site | |
on: | |
workflow_dispatch: | |
inputs: | |
reason: | |
description: 'Reason for manually triggering this workflow' | |
required: false | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🤗 | |
uses: actions/checkout@v2 | |
- name: Set up Node.js 🤔 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '16.13.2' | |
- name: Install, Lint, and Build 🧐 | |
run: | | |
npm ci | |
npm run lint | |
npm run pretty | |
npm run build:prod | |
- name: Deploy 🥳 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist | |
commit-message: Deployed 🥳 |