Skip to content

Merge pull request #164 from data-to-insight/feat/combined-provider-t… #137

Merge pull request #164 from data-to-insight/feat/combined-provider-t…

Merge pull request #164 from data-to-insight/feat/combined-provider-t… #137

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- 'main'
jobs:
build-and-deploy:
name: 'Build and Deploy'
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install and Build 🔧
env:
REACT_APP_SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
REACT_APP_GA_MEASUREMENT_ID: ${{ secrets.GA_MEASUREMENT_ID }}
PUBLIC_URL: ${{ secrets.PUBLIC_URL }}
run: |
yarn install --frozen-lockfile
yarn build
- name: Deploy 🚀
if: github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy.