Fix a6c042855e: [CI] Deployment creation was failing (#15448)

This commit is contained in:
Loïc Guilloux
2026-04-10 14:30:45 +02:00
committed by GitHub
parent a6c042855e
commit b3b407acaf
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2026-03-10" \
https://api.github.com/repos/${{ github.repository }}/deployments \
-d '{"ref":"${{ github.event.workflow_run.head_branch }}","environment":"preview","required_contexts":[]}' \
-d '{"ref":"${{ github.event.workflow_run.head_sha }}","environment":"preview","required_contexts":[]}' \
| jq --raw-output0 '"url=\(.statuses_url)"' >> $GITHUB_OUTPUT
- name: Download artifacts