Skip to content

1.2.3

1.2.3 #120

Workflow file for this run

name: Build and Deploy
on:
release:
types: [published]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install and Build 🔧
env:
REACT_APP_GOOGLE_MAPS_KEY: ${{ secrets.REACT_APP_GOOGLE_MAPS_KEY }}
REACT_APP_BUGSNAG_KEY: ${{ secrets.REACT_APP_BUGSNAG_KEY }}
REACT_APP_API_ENDPOINT: ${{ secrets.REACT_APP_API_ENDPOINT }}
REACT_APP_STATIC_API_ENDPOINT: ${{ secrets.REACT_APP_STATIC_API_ENDPOINT }}
REACT_APP_BROKALYS_API_KEY: ${{ secrets.REACT_APP_BROKALYS_API_KEY }}
run: |
yarn install --frozen-lockfile
yarn build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
branch: gh-pages
folder: build