diff --git a/.github/workflows/docker-build-dev.yml b/.github/workflows/docker-build-dev.yml index 3190ee24eb..78e17cab3b 100644 --- a/.github/workflows/docker-build-dev.yml +++ b/.github/workflows/docker-build-dev.yml @@ -1,14 +1,11 @@ name: Push new dev images on: - pull_request: + push: branches: [ "main" ] - types: - - closed jobs: build: # Build only merged PRs - if: (github.event_name == 'pull_request' && github.event.pull_request.merged == true) runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 5fcdeeba8b..b2662ba2b5 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -1,9 +1,7 @@ name: Automate build and deploy on: - pull_request: + push: branches: [ "main" ] - types: - - closed env: AWS_REGION: us-west-2 @@ -13,7 +11,6 @@ env: jobs: build: # Build only merged PRs - if: (github.event_name == 'pull_request' && github.event.pull_request.merged == true) runs-on: ubuntu-latest steps: - uses: actions/checkout@v3