Upgrade to React 18 render context #27
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 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 |