fix: update pipeline triggers for pull request and push events
This commit is contained in:
parent
558deeaece
commit
a4a9d53484
@ -12,8 +12,10 @@ steps:
|
|||||||
- echo "🧪 Building and testing Spring Boot app..."
|
- echo "🧪 Building and testing Spring Boot app..."
|
||||||
- mvn -B clean verify
|
- mvn -B clean verify
|
||||||
when:
|
when:
|
||||||
event: [ pull_request ]
|
- event: pull_request
|
||||||
branch: [ main, develop, feat/*, feature/* ]
|
branch: [main, develop]
|
||||||
|
- event: push
|
||||||
|
branch: [ main, develop ]
|
||||||
|
|
||||||
- name: publish-image
|
- name: publish-image
|
||||||
depends_on: [ test ]
|
depends_on: [ test ]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user