Skip to content

Upgrade to React 18 render context #27

Upgrade to React 18 render context

Upgrade to React 18 render context #27

Workflow file for this run

name: Build and Deploy
env:
CI: false
on:
push:
branches:
- main
- dev
# schedule:
# - cron: "0 12 * * 1"
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
#FIXME: npm i --legacy-peer-deps is required right now due to react-scripts no longer being maintained - will replace it at some point.
- name: Install and Build 🔧
run: |
npm i --legacy-peer-deps
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build