send x-api-key in requests to bypass bot detection

This commit is contained in:
evanpelle
2026-03-30 20:57:13 -07:00
parent e7b4317718
commit 35be401312
5 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ jobs:
run: |
echo "::group::Wait for deployment to start"
set -euxo pipefail
while [ "$(curl -s https://${FQDN}/commit.txt)" != "${GITHUB_SHA}" ]; do
while [ "$(curl -s -H "X-API-Key: ${API_KEY}" https://${FQDN}/commit.txt)" != "${GITHUB_SHA}" ]; do
if [ "$SECONDS" -ge 300 ]; then
echo "Timeout: deployment did not start within 5 minutes"
exit 1