diff --git a/.drone.yml b/.drone.yml index 2966948..0f2a367 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,6 +8,7 @@ steps: - git clone https://git.ar21.de/yolokube/fail2ban-prometheus-exporter.git . - cd /deployment-repo - git clone https://git.ar21.de/yolokube/fail2ban-exporter-deployment.git . + - rm -r /deployment-repo/deploy/* || true - cp -rv /source-repo/deploy /deployment-repo/base - mkdir -p /deployment-repo/deploy - kustomize build -o /deployment-repo/deploy/fail2ban-exporter.yaml