[ISSUE-145] Replace --method=POST with --post-data= for BusyBox wget compatibility #146

Merged
hitanshu merged 2 commits from Dave/CFTunnels:fix/wget-method-post into test 2026-07-08 21:10:54 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ jobs:
API_KEY: ${{ secrets.PORTAINER_SERVICE_API_KEY_PROD }} API_KEY: ${{ secrets.PORTAINER_SERVICE_API_KEY_PROD }}
run: | run: |
wget -q --no-check-certificate --timeout=30 \ wget -q --no-check-certificate --timeout=30 \
--method=POST \ --post-data= \
--header="X-API-Key: $API_KEY" \ --header="X-API-Key: $API_KEY" \
-O - \ -O - \
"$PORTAINER_AUTOMATION_URL/api/deploy/$STACK_ID" 2>&1 \ "$PORTAINER_AUTOMATION_URL/api/deploy/$STACK_ID" 2>&1 \

View File

@ -72,7 +72,7 @@ jobs:
API_KEY: ${{ secrets.PORTAINER_SERVICE_API_KEY }} API_KEY: ${{ secrets.PORTAINER_SERVICE_API_KEY }}
run: | run: |
wget -q --no-check-certificate --timeout=30 \ wget -q --no-check-certificate --timeout=30 \
--method=POST \ --post-data= \
--header="X-API-Key: $API_KEY" \ --header="X-API-Key: $API_KEY" \
-O - \ -O - \
"$PORTAINER_AUTOMATION_URL/api/deploy/$STACK_ID" 2>&1 \ "$PORTAINER_AUTOMATION_URL/api/deploy/$STACK_ID" 2>&1 \