Skip to content

Commit

Permalink
Update publish condition
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaStebaev committed Mar 20, 2024
1 parent 1e1fd78 commit e52dd9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
build:
runs-on: ubuntu-latest

if: github.event_name != 'pull_request' || github.event.pull_request.merged == true

env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
Expand Down

0 comments on commit e52dd9c

Please sign in to comment.