mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-30 21:09:29 +00:00
debug: Add verbose logging to improve workflow
This commit is contained in:
parent
758e79bb59
commit
774c3d0cc1
1 changed files with 8 additions and 2 deletions
10
.github/workflows/improve.yml
vendored
10
.github/workflows/improve.yml
vendored
|
|
@ -16,6 +16,12 @@ jobs:
|
|||
- name: Trigger improve sprite
|
||||
env:
|
||||
SPRITE_TOKEN: ${{ secrets.SPRITE_TOKEN }}
|
||||
SPRITE_NAME: ${{ secrets.IMPROVE_SPRITE_NAME }}
|
||||
SVC_NAME: ${{ secrets.IMPROVE_SERVICE_NAME }}
|
||||
run: |
|
||||
curl -s -X POST "https://api.sprites.dev/v1/sprites/${{ secrets.IMPROVE_SPRITE_NAME }}/services/${{ secrets.IMPROVE_SERVICE_NAME }}/start?duration=0s" \
|
||||
-H "Authorization: Bearer ${SPRITE_TOKEN}"
|
||||
echo "SPRITE_NAME length: ${#SPRITE_NAME}"
|
||||
echo "SVC_NAME length: ${#SVC_NAME}"
|
||||
URL="https://api.sprites.dev/v1/sprites/${SPRITE_NAME}/services/${SVC_NAME}/start?duration=0s"
|
||||
echo "URL: $URL"
|
||||
curl -v -X POST "$URL" \
|
||||
-H "Authorization: Bearer ${SPRITE_TOKEN}" 2>&1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue