diff --git a/.drone.yml b/.drone.yml index 02f5a8d..40d9488 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,4 +7,9 @@ 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/13/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/13/launch/" +when: + event: + - push + branch: + - main \ No newline at end of file