add conditions
This commit is contained in:
parent
fabb1cba0c
commit
932f39a3a0
@ -1,4 +1,10 @@
|
||||
---
|
||||
when:
|
||||
- event: [pull_request, tag]
|
||||
- event: [push, manual]
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
steps:
|
||||
demo:
|
||||
image: "alpine"
|
||||
|
@ -1,4 +1,10 @@
|
||||
---
|
||||
when:
|
||||
- event: [pull_request, tag]
|
||||
- event: [push, manual]
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
steps:
|
||||
test_1:
|
||||
image: "alpine"
|
||||
|
Loading…
Reference in New Issue
Block a user