Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
kroist committed Dec 11, 2024
1 parent 4f8bb50 commit a6418b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/manual-deploy-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
name: Deploy contracts on testnet
runs-on: [self-hosted, Linux, X64, medium]
steps:
- name: Print environment
run: echo "Environment: ${{ github.event.inputs.environment }}"

- name: GIT | Checkout
uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ deploy-contracts: # Deploy solidity contracts
deploy-contracts:
ifeq ($(NETWORK),anvil)
$(eval PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80) \
PRIVATE_KEY=$(PRIVATE_KEY) OWNER=$(shell cast wallet address $(PRIVATE_KEY)) forge script DeployShielderScript --broadcast --rpc-url anvil --sender $(shell cast wallet address $(PRIVATE_KEY))
PRIVATE_KEY=$(PRIVATE_KEY) OWNER_ADDRESS=$(shell cast wallet address $(PRIVATE_KEY)) forge script DeployShielderScript --broadcast --rpc-url anvil --sender $(shell cast wallet address $(PRIVATE_KEY))
else
PRIVATE_KEY=$(PRIVATE_KEY) forge script DeployShielderScript --broadcast --rpc-url $(NETWORK) --sender $(shell cast wallet address $(PRIVATE_KEY))
endif
Expand Down

0 comments on commit a6418b1

Please sign in to comment.