Hithomelabs/CFTunnels#<issue>: Add --method=POST to wget deploy trigger commands

The Portainer redeploy endpoint POST /api/deploy/{stackId} requires
POST requests. wget defaults to GET, so --method=POST is needed.
Applied to both Dev (test_image_build_push.yml) and Prod
(prod_image_tag_promote.yaml) workflow files.
This commit is contained in:
hitanshu310 2026-07-09 02:27:48 +05:30
parent cd270084ad
commit a3a3917fc0
2 changed files with 2 additions and 0 deletions

View File

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

View File

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