Skip to content

Commit

Permalink
Change contracts workflow to deploy only on push (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikolaj Gasior authored Oct 31, 2022
1 parent cce8287 commit fb8c407
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/contracts-e2e-tests-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
paths:
- 'contracts/**'
- '.github/**'
branches:
- benjamin

concurrency:
group: ${{ github.workflow }}
Expand Down Expand Up @@ -130,6 +128,7 @@ jobs:

build_and_deploy_contracts:
name: Deploy contracts on feature environment
if: github.event_name == 'push' && github.ref_name == 'benjamin'
needs: [run-tests]
runs-on: ubuntu-20.04
steps:
Expand Down

0 comments on commit fb8c407

Please sign in to comment.