Skip to content

Merge pull request #848 from airswap/develop #135

Merge pull request #848 from airswap/develop

Merge pull request #848 from airswap/develop #135

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: 16.15.1
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Install and Build 🔧
env:
REACT_APP_SENTRY_DSN: ${{ vars.REACT_APP_SENTRY_DSN }}
REACT_APP_RPC_URL_1: ${{ vars.REACT_APP_RPC_URL_1 }}
REACT_APP_RPC_URL_5: ${{ vars.REACT_APP_RPC_URL_5 }}
REACT_APP_RPC_URL_59140: ${{ vars.REACT_APP_RPC_URL_59140 }}
run: |
yarn
yarn build
- name: Pages Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build
- name: IPFS Deploy 🚀
uses: aquiladev/ipfs-action@master
with:
path: ./build
service: infura
infuraProjectId: ${{ secrets.INFURA_PROJECT_ID }}
infuraProjectSecret: ${{ secrets.INFURA_PROJECT_SECRET }}