Set event to the pipeline
This commit is contained in:
parent
914e3cbbf5
commit
da2c2f38c7
@ -1,6 +1,7 @@
|
||||
steps:
|
||||
build-frontend:
|
||||
when:
|
||||
event: [ push, pull_request, tag ]
|
||||
path:
|
||||
include: [ frontend/** ]
|
||||
image: gcr.io/kaniko-project/executor:latest
|
||||
@ -18,6 +19,7 @@ steps:
|
||||
|
||||
build-backend:
|
||||
when:
|
||||
event: [ push, pull_request, tag ]
|
||||
path:
|
||||
include: [ backend/** ]
|
||||
image: gcr.io/kaniko-project/executor:latest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user