diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml index 3190ee24..625018c6 100644 --- a/.github/workflows/build-dev.yml +++ b/.github/workflows/build-dev.yml @@ -1,14 +1,10 @@ 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/bulid-and-deploy.yml b/.github/workflows/bulid-and-deploy.yml index 15b7dd4d..191556bf 100644 --- a/.github/workflows/bulid-and-deploy.yml +++ b/.github/workflows/bulid-and-deploy.yml @@ -1,9 +1,7 @@ name: Build and deploy on: - pull_request: + push: branches: [ "main" ] - types: - - closed env: AWS_REGION: us-west-2 @@ -12,8 +10,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