Skip to content

Commit

Permalink
feat: use .env file for scripts (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
amarinkovic authored Mar 7, 2024
1 parent 8dedcc4 commit df693a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"devnet": "anvil",
"commitlint": "commitlint --edit",
"deploy-local": "forge script scripts/Deploy.s.sol --rpc-url http://localhost:8545 --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 --broadcast",
"deploy-public": "forge script scripts/Deploy.s.sol --chain-id $CHAIN_ID --rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast"
"deploy-public": "export $(cat .env | grep -v \\# | xargs) && forge script scripts/Deploy.s.sol --chain-id $CHAIN_ID --rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast"
},
"commitlint": {
"extends": [
Expand Down

0 comments on commit df693a8

Please sign in to comment.