fix report status

This commit is contained in:
Bryan Gerlach
2024-11-02 00:15:13 -05:00
parent a766818b51
commit 7ab97eb365

View File

@@ -582,7 +582,7 @@ jobs:
- name: Report Status
uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.GENURL }}/updategh
url: ${{ env.STATUS_URL }}
method: 'POST'
customHeaders: '{"Content-Type": "application/json"}'
data: '{"uuid": "${{ inputs.uuid }}", "status": "Success"}'
@@ -591,7 +591,7 @@ jobs:
if: failure()
uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.GENURL }}/updategh
url: ${{ env.STATUS_URL }}
method: 'POST'
customHeaders: '{"Content-Type": "application/json"}'
data: '{"uuid": "${{ inputs.uuid }}", "status": "Generation failed, try again"}'
@@ -600,7 +600,7 @@ jobs:
if: cancelled()
uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.GENURL }}/updategh
url: ${{ env.STATUS_URL }}
method: 'POST'
customHeaders: '{"Content-Type": "application/json"}'
data: '{"uuid": "${{ inputs.uuid }}", "status": "Generation cancelled, try again"}'