Skip to content

Update README.md

Update README.md #72

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment: github-pages
steps:
- name: Checkout 🍔🍟🥤
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js 😂
uses: actions/setup-node@v3
with:
node-version: 16.13
- name: Install and Build 🏭
run: |
node --version
npm --version
npm ci
npm run pre-build
npm run build-ci
env:
REACT_APP_OAUTH_HELPER_URL: ${{ secrets.REACT_APP_OAUTH_HELPER_URL }}
REACT_APP_DOMAIN: ${{ secrets.REACT_APP_DOMAIN }}
- name: Deploy 📦
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build