Skip to content

Commit

Permalink
run only on merged pr's
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Stirner committed Feb 29, 2024
1 parent 29f6017 commit 11b1fbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Publish Docker nightly image

on:
push:
pull_request:
branches: [dev]

jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
if: github.repository == 'OpenHausIO/backend'
if: github.repository == 'OpenHausIO/backend' && github.event.pull_request.merged == true
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand Down

0 comments on commit 11b1fbd

Please sign in to comment.