From d93f8ab692db409b3b7863f1833b2e4e0a86bbf4 Mon Sep 17 00:00:00 2001 From: mafyuh Date: Sun, 9 Jun 2024 22:56:59 +0000 Subject: [PATCH] Update .forgejo/workflows/CD.yml --- .forgejo/workflows/CD.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/CD.yml b/.forgejo/workflows/CD.yml index e86070c..9085028 100644 --- a/.forgejo/workflows/CD.yml +++ b/.forgejo/workflows/CD.yml @@ -56,5 +56,11 @@ jobs: curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" \ - -d "{\"extra_vars\": {\"target_host\": \"${{ steps.determine-host.outputs.target_host }}\", \"folder\": \"${{ steps.determine-host.outputs.folder }}\"}}" \ - "https://awx.mafyuh.xyz/api/v2/job_templates/13/launch/" + -d '{ + "extra_vars": { + "target_host": "'"${{ steps.determine-host.outputs.target_host }}"'", + "folder": "'"${{ steps.determine-host.outputs.folder }}"'" + } + }' \ + "https://awx.mafyuh.xyz/api/v2/job_templates/13/launch/" \ + -v