[FIX] Add --method=POST to wget in Portainer Redeploy triggers #5

Closed
Dave wants to merge 0 commits from fix/wget-method-post into test
Owner

Summary

The Portainer redeploy endpoint POST /api/deploy/{stackId} requires POST requests, but wget defaults to GET. This fix adds --method=POST to both workflow files.

Changes

  • .gitea/workflows/test_image_build_push.yml — Added --method=POST to the "Trigger Portainer Redeploy (Dev)" step
  • .gitea/workflows/prod_image_tag_promote.yaml — Added --method=POST to the "Trigger Portainer Redeploy (Prod)" step

Testing

  • CI passes
  • Manual verification of redeploy trigger
## Summary The Portainer redeploy endpoint `POST /api/deploy/{stackId}` requires POST requests, but `wget` defaults to GET. This fix adds `--method=POST` to both workflow files. ## Changes - **`.gitea/workflows/test_image_build_push.yml`** — Added `--method=POST` to the "Trigger Portainer Redeploy (Dev)" step - **`.gitea/workflows/prod_image_tag_promote.yaml`** — Added `--method=POST` to the "Trigger Portainer Redeploy (Prod)" step ## Testing - [ ] CI passes - [ ] Manual verification of redeploy trigger
Dave added 1 commit 2026-07-08 20:58:03 +00:00
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.
Dave closed this pull request 2026-07-08 20:58:15 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Dave/CFTunnels#5
No description provided.