We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7f43bc commit 2ce44fcCopy full SHA for 2ce44fc
.github/workflows/ci.yml
@@ -213,6 +213,7 @@ jobs:
213
# See https://docs.github.com/en/rest/deployments/deployments?apiVersion=2022-11-28#list-deployments
214
next_deployment_number=$(gh api \
215
-H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" \
216
+ --paginate \
217
/repos/${{ github.repository }}/deployments \
218
--jq '[.[] | select(.ref == "${{ github.head_ref }}")] | length + 1'
219
)
0 commit comments