trigger on pull request

This commit is contained in:
Manish Gupta 2023-11-07 14:04:20 +05:30
parent 0ab50bcef1
commit 9cf171c099

View File

@ -2,6 +2,11 @@
name: Docker Branch Build name: Docker Branch Build
on: on:
pull_request:
types:
- opened
- synchronize
- closed
workflow_dispatch: workflow_dispatch:
inputs: inputs:
logLevel: logLevel:
@ -17,6 +22,7 @@ env:
jobs: jobs:
branch_build_and_push: branch_build_and_push:
if: ${{ (github.event_name == 'pull_request') && (( github.event.action =='closed' && github.event.pull_request.merged == true) || ( github.event.action =='opened'|| github.event.action =='synchronize'))}}
name: Build-Push Web/Space/API/Proxy Docker Image name: Build-Push Web/Space/API/Proxy Docker Image
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04