Skip to content

Commit 96c193f

Browse files
fix(ci): update whitelist resource addition command in dapp deployment workflow
1 parent d9af206 commit 96c193f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/dapp-deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ jobs:
139139
CONTRACT_ADDRESS: ${{ secrets.WEB3MAIL_WHITELIST_CONTRACT_ADDRESS }}
140140
run: |
141141
cd node_modules/whitelist-smart-contract
142-
export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address) && npm run addResourceToWhitelist
142+
export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address)
143+
NODE_OPTIONS='--loader=ts-node/esm --experimental-specifier-resolution=node' npx hardhat run scripts/addResourceToWhitelist.ts --network bellecour
143144
144145
- name: Configure ENS
145146
if: ${{ vars.DAPP_ENS_NAME }}

0 commit comments

Comments
 (0)