From 2e156880b844d46ecd53b2ccaaf980a0be95a551 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Thu, 10 Oct 2024 21:27:22 +0200 Subject: [PATCH] woodpecker --- .drone.yml => .woodpecker.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename .drone.yml => .woodpecker.yaml (81%) diff --git a/.drone.yml b/.woodpecker.yaml similarity index 81% rename from .drone.yml rename to .woodpecker.yaml index 786f4b8..a4fc189 100644 --- a/.drone.yml +++ b/.woodpecker.yaml @@ -1,5 +1,4 @@ -kind: pipeline -name: deploy +skip_clone: true steps: - name: awx image: curlimages/curl @@ -7,4 +6,7 @@ steps: TOKEN: from_secret: AWX_TOKEN commands: - - "curl -k -X POST -H \"Authorization: Bearer $TOKEN\" https://awx-aaron.apps.yolokube.de/api/v2/job_templates/10/launch/" \ No newline at end of file + - "curl -k -X POST -H \"Authorization: Bearer $TOKEN\" https://awx-aaron.apps.yolokube.de/api/v2/job_templates/10/launch/" +when: + - branch: main + event: push