fix(build): Triggering Ansible
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m34s

This commit is contained in:
2026-03-20 09:20:04 -04:00
parent eaae9b7487
commit 5c56d77a23

View File

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