Skip to content

Merge pull request #679 from HeliSwap/fix-user-address #151

Merge pull request #679 from HeliSwap/fix-user-address

Merge pull request #679 from HeliSwap/fix-user-address #151

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge Production
env:
CI: false
REACT_APP_PROVIDER_URL: https://heliswap.arkhia.io/hedera/mainnet/json-rpc/v1/10qcuS2f8vd2i2dqducf9wci9Upc292a
REACT_APP_MIRROR_NODE_URL: https://mainnet-public.mirrornode.hedera.com
REACT_APP_TOKEN_LIST_URL: https://heliswap.infura-ipfs.io/ipfs/Qmf5u6N2ohZnBc1yxepYzS3RYagkMZbU5dwwU4TGxXt9Lf
REACT_APP_NETWORK_TYPE: mainnet
REACT_APP_GRAPHQL_URI: https://heliswap-prod-362307.oa.r.appspot.com/query
REACT_APP_DROP_POLLER_URI: https://heliswap-drops-poller-53iakaarfq-ey.a.run.app/query
REACT_APP_POOL_MIN_LIQUIDITY: 250
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set prod ENV
run: |
echo "REACT_APP_ROUTER_ADDRESS_OLD=0x000000000000000000000000000000000013422e" >> $GITHUB_ENV
echo "REACT_APP_ROUTER_ADDRESS=0x00000000000000000000000000000000002cc9B2" >> $GITHUB_ENV
echo "REACT_APP_WHBAR_ADDRESS_OLD=0x00000000000000000000000000000000000F7e89" >> $GITHUB_ENV
echo "REACT_APP_WHBAR_ADDRESS=0x00000000000000000000000000000000002cc823" >> $GITHUB_ENV
echo "REACT_APP_LOCKDROP_ADDRESS=0x00000000000000000000000000000000001D917d" >> $GITHUB_ENV
echo "REACT_APP_HELI_TOKEN_ADDRESS=0x00000000000000000000000000000000001d90C9" >> $GITHUB_ENV
echo "REACT_APP_SINGLE_SIDED_STAKING_ADDRESS=0x0000000000000000000000000000000000214949" >> $GITHUB_ENV
echo "REACT_APP_GOVERNANCE_ADDRESS=0x0000000000000000000000000000000000392f1b" >> $GITHUB_ENV
echo "REACT_APP_KERNEL_ADDRESS=0x00000000000000000000000000000000003868f5" >> $GITHUB_ENV
echo "REACT_APP_REWARDS_ADDRESS=0x00000000000000000000000000000000003868f7" >> $GITHUB_ENV
echo "REACT_APP_SSS_ADDRESS=0x0000000000000000000000000000000000386900" >> $GITHUB_ENV
- name: Build
run: yarn install --frozen-lockfile && yarn run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_HELISWAP_PROD }}'
channelId: live
projectId: heliswap-prod