forked from github/plane
trigger on pull request
This commit is contained in:
parent
0ab50bcef1
commit
9cf171c099
6
.github/workflows/build-branch.yml
vendored
6
.github/workflows/build-branch.yml
vendored
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user