Update docker.yaml (#1984)

* Update docker.yaml
This commit is contained in:
abraunegg 2022-06-03 08:49:57 +10:00 committed by GitHub
parent 0ebe66412a
commit e008468686
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -5,13 +5,16 @@ on:
branches: [ master ]
tags: [ 'v*' ]
pull_request:
branches:
- master
types: [closed]
env:
DOCKER_HUB_SLUG: driveone/onedrive
jobs:
build:
if: github.event.pull_request.merged == true
if: (!(github.event.action == 'closed' && github.event.pull_request.merged != true))
runs-on: ubuntu-latest
strategy: