Skip to content

Commit 7382056

Browse files
committed
ready.json
1 parent d60a2ad commit 7382056

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ov_build_release_shared.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,3 +620,15 @@ jobs:
620620
if ($failed.Count -gt 0) {
621621
throw "Publish failed for: $($failed -join ', ')"
622622
}
623+
624+
# Optional secrets: READY_UPDATE_ENDPOINT, READY_UPDATE_KEY. Body: key + client_target=yes (server maps live|test|emu-rof2 -> Live|Test|Emu).
625+
- name: "[Release] Update launcher ready manifest"
626+
if: success() && env.vv_enabled == 'true' && secrets.READY_UPDATE_ENDPOINT != '' && secrets.READY_UPDATE_KEY != ''
627+
id: ready_update_http
628+
uses: fjogeleit/http-request-action@v1
629+
with:
630+
url: ${{ secrets.READY_UPDATE_ENDPOINT }}
631+
method: POST
632+
contentType: application/x-www-form-urlencoded
633+
data: key=${{ secrets.READY_UPDATE_KEY }}&${{ inputs.client_target }}=yes
634+
timeout: 60000

0 commit comments

Comments
 (0)