Skip to content

Commit

Permalink
imp(workflows): just build and push images if a PR is ready for review
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavovalverde committed Jul 29, 2024
1 parent a740589 commit 4082986
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cd-deploy-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy to dev

on:
pull_request:
types: [opened, synchronize, reopened, labeled]
types: [ready_for_review, synchronize]
paths:
- '**/Corefile'
- '**/Dockerfile'
Expand Down Expand Up @@ -39,6 +39,7 @@ jobs:

build:
uses: ./.github/workflows/sub-build-docker-image.yml
if: ${{ !github.event.pull_request.draft }}
with:
environment: dev
dockerfile_path: ./docker/Dockerfile
Expand Down

0 comments on commit 4082986

Please sign in to comment.