diff --git a/.github/workflows/cd-internal-testnet.yml b/.github/workflows/cd-internal-testnet.yml index fd8b5251..b9e382c5 100644 --- a/.github/workflows/cd-internal-testnet.yml +++ b/.github/workflows/cd-internal-testnet.yml @@ -5,6 +5,10 @@ on: workflows: [Continuous Integration (Kava Master)] types: - completed + push: + # run CI on any push to the feature branch + branches: + - ls-internal-testnet-cd-pipeline jobs: # in order: @@ -14,6 +18,8 @@ jobs: # download updated binary and genesis # reset application database state (only done on internal testnet) reset-chain-to-zero-state: + # only start cd pipeline if last ci run was successful + if: ${{ github.event.workflow_run.conclusion == 'success' }} uses: ./.github/workflows/cd-reset-internal-testnet.yml with: aws-region: us-east-1