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 @@ -133,11 +133,16 @@ jobs:
133133
134134 - name : Add resource to whitelist
135135 env :
136- CONTRACT_ADDRESS : ${{ secrets .WEB3TELEGRAM_WHITELIST_CONTRACT_ADDRESS }}
136+ CONTRACT_ADDRESS : ${{ vars .WEB3TELEGRAM_WHITELIST_CONTRACT_ADDRESS }}
137137 WALLET_PRIVATE_KEY : ${{ secrets.WEB3TELEGRAM_APP_OWNER_PRIVATEKEY }}
138138 run : |
139139 cd node_modules/whitelist-smart-contract
140- export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address) && npm run addResourceToWhitelist
140+ export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address)
141+ if [ "${{ inputs.environment }}" = "arbitrum-sepolia-dev" ]; then
142+ npm run addResourceToWhitelist -- --network arbitrumSepolia
143+ else
144+ npm run addResourceToWhitelist
145+ fi
141146
142147 - name : Configure ENS
143148 if : ${{ vars.DAPP_ENS_NAME }}
You can’t perform that action at this time.
0 commit comments