851: Added fix for bug when clicking restart in RFQ (#854) #136
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |