File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -118,11 +118,16 @@ jobs:
118118
119119 - name : Add resource to whitelist
120120 env :
121- CONTRACT_ADDRESS : ${{ secrets .WEB3TELEGRAM_WHITELIST_CONTRACT_ADDRESS }}
121+ CONTRACT_ADDRESS : ${{ vars .WEB3TELEGRAM_WHITELIST_CONTRACT_ADDRESS }}
122122 WALLET_PRIVATE_KEY : ${{ secrets.WEB3TELEGRAM_APP_OWNER_PRIVATEKEY }}
123123 run : |
124124 cd node_modules/whitelist-smart-contract
125- export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address) && npm run addResourceToWhitelist
125+ export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address)
126+ if [ "${{ matrix.environment }}" = "arbitrum-sepolia-prod" ]; then
127+ npm run addResourceToWhitelist -- --network arbitrumSepolia
128+ else
129+ npm run addResourceToWhitelist
130+ fi
126131
127132 - name : Configure ENS
128133 if : ${{ vars.DAPP_ENS_NAME }}
You can’t perform that action at this time.
0 commit comments