Skip to content

Merge pull request #3 from dmitrijs-balcers/master #37

Merge pull request #3 from dmitrijs-balcers/master

Merge pull request #3 from dmitrijs-balcers/master #37

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [master]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
- run: yarn install
- run: yarn test
- name: Build 🔧
env:
REACT_APP_API_URL: ${{ secrets.REACT_APP_API_URL }}
REACT_APP_BROKALYS_API_KEY: ${{ secrets.REACT_APP_BROKALYS_API_KEY }}
REACT_APP_GOOGLE_MAPS_KEY: ${{ secrets.REACT_APP_GOOGLE_MAPS_KEY }}
REACT_APP_BUGSNAG_KEY: ${{ secrets.REACT_APP_BUGSNAG_KEY }}
run: yarn build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
branch: gh-pages
folder: build