Skip to content

add distribute workflow #11

add distribute workflow

add distribute workflow #11

Workflow file for this run

name: Deploy
on:
push:
branches: master
paths:
- claim-gui/**
- tooling/_harvest/checkpoints/**
defaults:
run:
working-directory: ./claim-gui
jobs:
deploy:
runs-on: ubuntu-latest
env:
REACT_APP_INFURA_KEY: ${{ secrets.INFURA_API_KEY }}
name: deploy claim-gui
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "yarn"
cache-dependency-path: "claim-gui/yarn.lock"
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Deploy to Github Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./claim-gui/build