Added manual conditional
This commit is contained in:
parent
020eea0b82
commit
c89b571419
2 changed files with 10 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
branches:
|
branches:
|
||||||
exclude: [*]
|
include: [main]
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
init:
|
init:
|
||||||
|
@ -9,6 +9,8 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- apk add make
|
- apk add make
|
||||||
- make init
|
- make init
|
||||||
|
when:
|
||||||
|
event: manual
|
||||||
apply:
|
apply:
|
||||||
image: hashicorp/terraform
|
image: hashicorp/terraform
|
||||||
environment:
|
environment:
|
||||||
|
@ -16,4 +18,6 @@ pipeline:
|
||||||
secrets: [hetznerkey]
|
secrets: [hetznerkey]
|
||||||
commands:
|
commands:
|
||||||
- apk add make
|
- apk add make
|
||||||
- make apply
|
- make apply
|
||||||
|
when:
|
||||||
|
event: manual
|
|
@ -1,5 +1,5 @@
|
||||||
branches:
|
branches:
|
||||||
exclude: [*]
|
include: [main]
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
init:
|
init:
|
||||||
|
@ -8,4 +8,6 @@ pipeline:
|
||||||
- CODE_PATH=./hetzner/template
|
- CODE_PATH=./hetzner/template
|
||||||
commands:
|
commands:
|
||||||
- apk add make
|
- apk add make
|
||||||
- make destroy
|
- make destroy
|
||||||
|
when:
|
||||||
|
event: manual
|
Loading…
Reference in a new issue