Skip to content

Merge branch 'main' into develop #429

Merge branch 'main' into develop

Merge branch 'main' into develop #429

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge Development
env:
CI: false
REACT_APP_PROVIDER_URL: https://heliswap.arkhia.io/hedera/testnet/json-rpc/v1/10qcuS2f8vd2i2dqducf9wci9Upc292a
REACT_APP_MIRROR_NODE_URL: https://testnet.mirrornode.hedera.com
REACT_APP_TOKEN_LIST_URL: https://heliswap.infura-ipfs.io/ipfs/QmVPfFqArfQtUxdxVzzv2qAwRTwJnHwxhrjQa4xZRydyHW
REACT_APP_NETWORK_TYPE: testnet
REACT_APP_GRAPHQL_URI: https://api-dev.heliswap.io/query
REACT_APP_DROP_POLLER_URI: https://heliswap-drops-poller-53iakaarfq-ey.a.run.app/query
REACT_APP_POOL_MIN_LIQUIDITY: 0
'on':
push:
branches:
- develop
- cicd
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set prod ENV
run: |
echo "REACT_APP_ROUTER_ADDRESS_OLD=0x0000000000000000000000000000000000ce51d0" >> $GITHUB_ENV
echo "REACT_APP_ROUTER_ADDRESS=0x000000000000000000000000000000000044fd3a" >> $GITHUB_ENV
echo "REACT_APP_WHBAR_ADDRESS_OLD=0x0000000000000000000000000000000000001c3D" >> $GITHUB_ENV
echo "REACT_APP_WHBAR_ADDRESS=0x000000000000000000000000000000000006A6cB" >> $GITHUB_ENV
echo "REACT_APP_LOCKDROP_ADDRESS=0x000000000000000000000000000000000034e2c8" >> $GITHUB_ENV
echo "REACT_APP_HELI_TOKEN_ADDRESS=0x000000000000000000000000000000000001d7FA" >> $GITHUB_ENV
echo "REACT_APP_SINGLE_SIDED_STAKING_ADDRESS=0x0000000000000000000000000000000000413da3" >> $GITHUB_ENV
echo "REACT_APP_GOVERNANCE_ADDRESS=0x000000000000000000000000000000000018268a" >> $GITHUB_ENV
echo "REACT_APP_KERNEL_ADDRESS=0x000000000000000000000000000000000010e155" >> $GITHUB_ENV
echo "REACT_APP_REWARDS_ADDRESS=0x000000000000000000000000000000000010e159" >> $GITHUB_ENV
echo "REACT_APP_SSS_ADDRESS=0x000000000000000000000000000000000010e15b" >> $GITHUB_ENV
echo "REACT_APP_PYF_FACTORY_ADDRESS=0xc74a04548d665586bCfC5F65e92C98df3aA78AdF" >> $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_DEV_E552E }}'
channelId: live
projectId: heliswap-dev-e552e