1 Commits

Author SHA1 Message Date
5c56d77a23 fix(build): Triggering Ansible
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m34s
2026-03-20 09:20:04 -04:00

View File

@@ -54,14 +54,9 @@ jobs:
- name: Trigger Ansible Deploy Playbook
if: steps.build.outputs.VERSION != ''
uses: https://github.com/distributhor/workflow-webhook@v3
with:
webhook_url: ${{ vars.WEBHOOK_URL }}
webhook_auth_type: bearer
webhook_auth: ${{ secrets.WEBHOOK_SECRET }}
verbose: true
data: >
{
"artifact_url":
"${{ gitea.server_url }}/${{ gitea.repository }}/releases/download/v${{ steps.build.outputs.VERSION }}/release-${{ steps.build.outputs.VERSION }}.tar.gz"
}
run: |
curl --fail-with-body -sS \
-H "Authorization: Bearer ${{ secrets.WEBHOOK_SECRET }}" \
-H "Content-Type: application/json" \
-d '{"artifact_url":"${{ gitea.server_url }}/${{ gitea.repository }}/releases/download/v${{ steps.build.outputs.VERSION }}/release-${{ steps.build.outputs.VERSION }}.tar.gz"}' \
"${{ vars.WEBHOOK_URL }}"