Skip to content

Merge pull request #829 from AI4Bharat/Rahul-537 #32

Merge pull request #829 from AI4Bharat/Rahul-537

Merge pull request #829 from AI4Bharat/Rahul-537 #32

name: Build and Deploy
on:
push:
branches:
- develop2
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install and Build 🔧
run: |
npm install --legacy-peer-deps
npm run build
env:
REACT_APP_APIGW_BASE_URL: ${{ vars.DEV__REACT_APP_APIGW_BASE_URL }}
CI: false
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build