Skip to content

Update package.json #15

Update package.json

Update package.json #15

name: Build and Deploy!
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Install and Build 🔧
env:
REACT_APP_API_KEY: ${{ secrets.REACT_APP_API_KEY }}
run: |
npm install
npm run build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy.