From 714d62bd9976aae3477878125940a3d391a29aa2 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Thu, 8 Feb 2024 03:57:00 +0100 Subject: [PATCH] fix pipeline --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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