Skip to content

Commit

Permalink
Merge pull request #305 from freelawproject/feat-make-deploy-work-for…
Browse files Browse the repository at this point in the history
…-non-members

feat(ci): This should fix deploys for non-members
  • Loading branch information
mlissner authored Jul 5, 2023
2 parents dec8889 + a4add04 commit f5629dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/bulid-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Build and deploy
on:
pull_request:
push:
branches: [ "main" ]
types:
- closed

env:
AWS_REGION: us-west-2
Expand All @@ -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
Expand Down

0 comments on commit f5629dc

Please sign in to comment.