cloudflare/.drone.yml

32 lines
419 B
YAML
Raw Normal View History

2023-07-09 11:22:05 +00:00
kind: pipeline
type: docker
name: plan
steps:
- name: plan
image: reg.kazu634.com/kazu634/terraform
commands:
2023-07-09 11:23:52 +00:00
- terraform init
2023-07-09 11:22:05 +00:00
- terraform plan
trigger:
branch:
exclude:
- master
---
kind: pipeline
type: docker
2023-07-09 11:23:00 +00:00
name: apply
2023-07-09 11:22:05 +00:00
steps:
- name: apply
image: reg.kazu634.com/kazu634/terraform
commands:
2023-07-09 11:23:52 +00:00
- terraform init
2023-07-09 11:22:05 +00:00
- terraform apply
trigger:
branch:
- master