fix: Pass env vars correctly in refactor workflow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Sprite 2026-02-09 08:13:09 +00:00
parent 15dd5e264f
commit a361d92e13

View file

@ -18,6 +18,9 @@ jobs:
- name: Trigger refactor sprite
env:
SPRITE_TOKEN: ${{ secrets.SPRITE_TOKEN }}
SPRITE_NAME: ${{ secrets.REFACTOR_SPRITE_NAME }}
SVC_NAME: ${{ secrets.REFACTOR_SERVICE_NAME }}
run: |
curl -s -X POST "https://api.sprites.dev/v1/sprites/${{ secrets.REFACTOR_SPRITE_NAME }}/services/${{ secrets.REFACTOR_SERVICE_NAME }}/start?duration=0s" \
-H "Authorization: Bearer ${SPRITE_TOKEN}"
curl -X POST \
-H "Authorization: Bearer ${SPRITE_TOKEN}" \
"https://api.sprites.dev/v1/sprites/${SPRITE_NAME}/services/${SVC_NAME}/start"