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:
|
steps:
|
||||||
demo:
|
demo:
|
||||||
image: "alpine"
|
image: "alpine"
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
when:
|
||||||
|
- event: [pull_request, tag]
|
||||||
|
- event: [push, manual]
|
||||||
|
branch:
|
||||||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
test_1:
|
test_1:
|
||||||
image: "alpine"
|
image: "alpine"
|
||||||
|
Loading…
Reference in New Issue
Block a user