Skip to content

Commit

Permalink
BROADCAST
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarof2 committed Apr 16, 2024
1 parent 9d1477d commit c90620a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- alvarof2/contracts
workflow_dispatch:
inputs:
simulate:
broadcast:
required: false
type: boolean
default: true
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
id-token: write
contents: read
env:
SIMULATE: ${{ github.event_name == 'push' && true || inputs.simulate }}
BROADCAST: ${{ github.event_name == 'push' && true || inputs.broadcast }}
L1_RPC_KIND: ${{ github.event_name == 'push' && 'alchemy' || inputs.l1_rpc_kind }}
DEPLOYMENT_CONTEXT: ${{ github.event_name == 'push' && 'test-alvaro' || inputs.deployment_context }}
GS_ADMIN_ADDRESS: ${{ github.event_name == 'push' && '0x19c1696408E63d670ab8177bfafB0D37e9F3ed82' || inputs.gs_admin_address }}
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
export IMPL_SALT=$(openssl rand -hex 32)
cd packages/contracts-bedrock
./scripts/getting-started/config.sh
if [[ -z "${SIMULATE}" ]] || [[ $SIMULATE ]]
if [[ -z "${BROADCAST}" ]] || [[ $BROADCAST ]]
then
forge script scripts/Deploy.s.sol:Deploy --private-key $GS_ADMIN_PRIVATE_KEY --rpc-url $L1_RPC_URL --slow
else
Expand Down

0 comments on commit c90620a

Please sign in to comment.