Skip to content

Merge pull request #4 from automata-network/DEV-3652 #28

Merge pull request #4 from automata-network/DEV-3652

Merge pull request #4 from automata-network/DEV-3652 #28

Workflow file for this run

name: Build and Deploy WebUI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: webui
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
cache-dependency-path: ./webui/yarn.lock
# Install dependencies
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Build 🏗️
run: yarn build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: webui/build # The folder the action should deploy.
branch: gh-pages # The branch the action should deploy to.
repository-name: automata-network/fundingvault