-
Notifications
You must be signed in to change notification settings - Fork 70
39 lines (35 loc) · 1.04 KB
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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 }}