Skip to content

ci: fix build ui workflow #2

ci: fix build ui workflow

ci: fix build ui workflow #2

Workflow file for this run

name: Deploy UI Workflow
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy Job
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: ui
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install and Build
run: |
npm ci
npm run build
env:
REACT_APP_CAMPAIGN_FACTORY_ADDRESS: ${{ secrets.CAMPAIGN_FACTORY_ADDRESS }}
REACT_APP_WEB3_PROVIDER: ${{ secrets.WEB3_PROVIDER_URL }}
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./ui/build