Skip to content

Commit 1743030

Browse files
Le-Caigneczguesmi
andauthored
Update .drone.yml
Co-authored-by: Zied Guesmi <[email protected]>
1 parent f9785e2 commit 1743030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ steps:
8787
commands:
8888
- cd environments
8989
- |
90-
ADDRESS=$(grep -o '"contractAddress":"[^"]*' ../packages/smart-contract/ignition/deployments/chain-134/journal.jsonl | tail -1 | cut -d'"' -f4)
90+
ADDRESS=`jq -r '.contractAddress'`
9191
BLOCK=$(grep -o '"blockNumber":[0-9]*' ../packages/smart-contract/ignition/deployments/chain-134/journal.jsonl | tail -1 | cut -d':' -f2)
9292
KEY=dataprotectorContractAddress VALUE=$ADDRESS npm run update-env
9393
KEY=dataprotectorStartBlock VALUE=$BLOCK npm run update-env

0 commit comments

Comments
 (0)