Skip to content

Commit

Permalink
wip on flare support for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Jan 25, 2024
1 parent 8333bd6 commit a2d7812
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/manual-sol-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
- run: nix run .#rainix-sol-artifacts
env:
ETH_RPC_URL: ${{ inputs.network == 'polygon' && secrets.CI_DEPLOY_POLYGON_RPC_URL || inputs.network == 'songbird' && secrets.CI_DEPLOY_SONGBIRD_RPC_URL || inputs.network == 'flare' && secrets.CI_DEPLOY_FLARE_RPC_URL || '' }}
ETHERSCAN_API_KEY: ${{ secrets.EXPLORER_VERIFICATION_KEY }}
BLOCKSCOUT_URL: ${{ inputs.network == 'songbird' && 'https://songbird-explorer.flare.network/api' || '' }}
# Flare has hardcoded api key https://flarescan.com/documentation/recipes/foundry-verification
ETHERSCAN_API_KEY: ${{ inputs.network == 'flare' && 'verifyContract' || secrets.EXPLORER_VERIFICATION_KEY }}
DEPLOY_VERIFIER: ${{ inputs.network == 'songbird' && 'blockscout' || 'etherscan' }}
DEPLOY_VERIFIER_URL: ${{ inputs.network == 'songbird' && 'https://songbird-explorer.flare.network/api' || inputs.network == flare && 'https://api.routescan.io/v2/network/mainnet/evm/14/etherscan' || '' }}
EXPRESSION_DEPLOYER: ${{ vars.EXPRESSION_DEPLOYER }}

0 comments on commit a2d7812

Please sign in to comment.