From 3c1f1638e2b04f1aaf114ac1742425feb88a622e Mon Sep 17 00:00:00 2001 From: KartoffelChipss <4+kartoffelchipss@noreply.git.fish> Date: Thu, 7 May 2026 17:00:39 +0200 Subject: [PATCH] Remove debug line & actually use stripped token --- action.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/action.yml b/action.yml index f3d9dd4..cbc1912 100644 --- a/action.yml +++ b/action.yml @@ -23,8 +23,6 @@ runs: # Strip any whitespace/newlines DEPLOY_TOKEN="${DEPLOY_TOKEN//[$'\t\r\n ']}" - - echo "Token length: ${#DEPLOY_TOKEN}" # Strip trailing slashes BASE_URL="${BASE_URL%/}" @@ -38,7 +36,7 @@ runs: RESPONSE=$(curl -sS -X POST \ "${BASE_URL}/api/v1/deploy?site=${{ inputs.SITE_ID }}" \ - -H "Authorization: Bearer ${{ inputs.DEPLOY_TOKEN }}" \ + -H "Authorization: Bearer ${DEPLOY_TOKEN}" \ -w "\n%{http_code}") HTTP_STATUS=$(echo "$RESPONSE" | tail -n1)