Added manual conditional
Some checks failed
ci/woodpecker/push/destroy Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
ci/woodpecker/manual/destroy Pipeline failed
ci/woodpecker/manual/deploy Pipeline failed

This commit is contained in:
Oscar Blue 2022-12-03 03:27:37 +00:00
parent 020eea0b82
commit c89b571419
2 changed files with 10 additions and 4 deletions

View file

@ -1,5 +1,5 @@
branches:
exclude: [*]
include: [main]
pipeline:
init:
@ -9,6 +9,8 @@ pipeline:
commands:
- apk add make
- make init
when:
event: manual
apply:
image: hashicorp/terraform
environment:
@ -17,3 +19,5 @@ pipeline:
commands:
- apk add make
- make apply
when:
event: manual

View file

@ -1,5 +1,5 @@
branches:
exclude: [*]
include: [main]
pipeline:
init:
@ -9,3 +9,5 @@ pipeline:
commands:
- apk add make
- make destroy
when:
event: manual