fix: use Woodpecker repo ID in API URL, quote YAML commands
- Woodpecker API requires numeric repo IDs, not owner/name paths - Quote kubectl commands to prevent YAML map parsing on empty vars
This commit is contained in:
parent
7dc285a677
commit
1e100cefd1
2 changed files with 3 additions and 3 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
run: |
|
||||
for attempt in 1 2 3; do
|
||||
STATUS=$(curl -s -o /dev/null -w "%{http_code}" -X POST \
|
||||
"https://ci.viktorbarzin.me/api/repos/ViktorBarzin/claude-memory-mcp/pipelines" \
|
||||
"https://ci.viktorbarzin.me/api/repos/78/pipelines" \
|
||||
-H "Authorization: Bearer ${{ secrets.WOODPECKER_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"branch":"main","variables":{"IMAGE_TAG":"${{ needs.build.outputs.image_tag }}","IMAGE_NAME":"viktorbarzin/${{ env.IMAGE_NAME }}"}}')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue