From a4add0499850d82d76584bfd4fcde4b0ac0f6ee0 Mon Sep 17 00:00:00 2001 From: Michael Lissner Date: Wed, 5 Jul 2023 12:28:51 -0400 Subject: [PATCH] feat(ci): This should fix deploys for non-members See also: freelawproject/courtlistener#2808 --- .github/workflows/build-dev.yml | 6 +----- .github/workflows/bulid-and-deploy.yml | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) 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