Skip to content

Commit cb0e5a0

Browse files
committed
fix: add condition to skip config update and artifact saving for hardhat network
1 parent bad7092 commit cb0e5a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy-smart-contracts.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
npm run deploy -- --network ${{ inputs.network }}
6262
6363
- name: Update config.json with ERC1538Proxy address
64+
if: inputs.network != 'hardhat'
6465
run: |
6566
if [ -f "deployments/${{ inputs.network }}/ERC1538Proxy.json" ]; then
6667
PROXY_ADDRESS=$(jq -r '.address' deployments/${{ inputs.network }}/ERC1538Proxy.json)
@@ -77,6 +78,7 @@ jobs:
7778
fi
7879
7980
- name: Save deployment artifacts and updated config
81+
if: inputs.network != 'hardhat'
8082
uses: stefanzweifel/git-auto-commit-action@v5
8183
with:
8284
commit_message: "chore: save deployment artifacts for ${{ inputs.network }} (${{ inputs.environment }}, ${{ github.run_id }})"

0 commit comments

Comments
 (0)