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