Skip to content

Commit

Permalink
debug deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Jan 7, 2024
1 parent 4a3deae commit d3b8370
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ jobs:
uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2

- name: Report public key to make it easy to send funds for deployments
run: nix develop --command cast wallet address "${DEPLOYMENT_KEY}"

- name: Forge deploy contracts to mumbai
env:
CI_DEPLOY_RPC_URL: ${{ secrets.CI_DEPLOY_RPC_URL }}
Expand Down
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
deploy-contracts = rainix.mkTask.${system} { name = "deploy-contracts"; body = (''
set -euo pipefail;
forge build --force;
echo 'deploy pubkey:'
cast wallet address "${DEPLOYMENT_KEY}";
'' + pkgs.lib.concatStrings (map deploy-single-contract concrete-contracts)); };

default = build-meta;
Expand Down

0 comments on commit d3b8370

Please sign in to comment.