From 124601614b13a3cdeadbe9fbd5b931090f2ce0f8 Mon Sep 17 00:00:00 2001 From: Paul Razvan Berg Date: Thu, 29 Jun 2023 21:22:45 +0300 Subject: [PATCH] chore: rewrite me --- .github/workflows/deploy-comptroller.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-comptroller.yml b/.github/workflows/deploy-comptroller.yml index fd391ea5d..3497005e4 100644 --- a/.github/workflows/deploy-comptroller.yml +++ b/.github/workflows/deploy-comptroller.yml @@ -10,7 +10,6 @@ env: API_KEY_POLYGONSCAN: ${{ secrets.API_KEY_POLYGONSCAN }} API_KEY_SNOWTRACE: ${{ secrets.API_KEY_SNOWTRACE }} FOUNDRY_PROFILE: "optimized" - MNEMONIC: ${{ secrets.MNEMONIC }} on: workflow_dispatch: @@ -23,9 +22,14 @@ on: default: "goerli" description: "Chain name as defined in the Foundry config." required: false + mnemonic: + description: "BIP-39 mnemonic used for generating the deployer account." + required: false jobs: deploy-comptroller: + env: + MNEMONIC: ${{ inputs.mnemonic || secrets.MNEMONIC }} runs-on: "ubuntu-latest" steps: - name: "Check out the repo"