cloudflare/.drone.yml

32 lines
415 B
YAML

kind: pipeline
type: docker
name: plan
steps:
- name: plan
image: reg.kazu634.com/kazu634/terraform
commands:
- terraform init
- terraform plan
trigger:
branch:
exclude:
- main
---
kind: pipeline
type: docker
name: apply
steps:
- name: apply
image: reg.kazu634.com/kazu634/terraform
commands:
- terraform init
- terraform apply
trigger:
branch:
- main