forked from omni/omnibridge-ui
-
Notifications
You must be signed in to change notification settings - Fork 4
51 lines (46 loc) · 1.66 KB
/
sokol.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
40
41
42
43
44
45
46
47
48
49
50
51
name: Build and Deploy Sokol
on:
push:
branches:
- develop
jobs:
deploy:
name: Build & Deploy Sokol
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: nodeModules-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies
run: yarn --frozen-lockfile
env:
CI: true
- name: Build
run: yarn react-app:build
env:
CI: true
REACT_APP_INFURA_ID: ${{ secrets.PERSONAL_INFURA_ID }}
REACT_APP_HOME_NETWORK: sokol
REACT_APP_ENABLE_REVERSED_BRIDGE: true
REACT_APP_DEBUG_LOGS: true
REACT_APP_TITLE: OmniBridge - %c
REACT_APP_DESCRIPTION: 'The Sokol OmniBridge multi-token extension for the Arbitrary Message Bridge between Kovan Testnet and the POA Sokol Testnet is the simplest way to transfer ANY ERC20/ERC677/ERC827 token to and from the POA Sokol Testnet.'
REACT_APP_GAS_PRICE_FALLBACK_GWEI: 5
REACT_APP_ETH_PRICE_API_URL: 'https://api.coingecko.com/api/v3/simple/price?ids=ethereum&vs_currencies=USD'
REACT_APP_ETH_PRICE_UPDATE_INTERVAL: 15000
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting --project sokol
env:
CI: true
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}