Skip to content

feat: update resume (#352) #395

feat: update resume (#352)

feat: update resume (#352) #395

Workflow file for this run

name: Build website
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Setup Node.js environment
uses: actions/setup-node@v3.1.0
with:
# Set always-auth in npmrc
# Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0
node-version: 12.x
# File containing the version Spec of the version to use. Examples: .nvmrc, .node-version
# Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default.
# Set this option if you want the action to check for the latest available version that satisfies the version spec
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
yarn install
yarn build:prod
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: dist # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch