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