Skip to content

Merge pull request #15 from RoboticsAndCloud/master #48

Merge pull request #15 from RoboticsAndCloud/master

Merge pull request #15 from RoboticsAndCloud/master #48

Workflow file for this run

name: Deploy Web App
on:
push:
branches:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install and Build
run: |
echo "REACT_APP_GEMINI_API_KEY=${{ vars.REACT_APP_GEMINI_API_KEY }}" > .env
npm install
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build
CLEAN: true