Skip to content

Merge pull request #207 from christsjcr/main #185

Merge pull request #207 from christsjcr/main

Merge pull request #207 from christsjcr/main #185

Workflow file for this run

name: Build and Deploy
on:
push:
branches: ["production"]
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install and Build 🔧 # use the lockfile for reproducibility, run typechecking, then output to build folder
run: |
yarn install --frozen-lockfile
yarn run check
yarn lint
yarn build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.DEPLOY_TOKEN }}
repository-name: christsjcr/christsjcr.github.io
branch: main # The branch the action should deploy to.
folder: build # The folder the action should deploy.
commit-message: "Updated."