diff --git a/.drone.yml b/.drone.yml index 2556f4b..786f4b8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,5 +3,8 @@ name: deploy steps: - name: awx image: curlimages/curl + environment: + TOKEN: + from_secret: AWX_TOKEN commands: - - "curl -k -X POST -H \"Authorization: Bearer $AWX_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/" \ No newline at end of file