mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-30 12:59:32 +00:00
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:
parent
15dd5e264f
commit
a361d92e13
1 changed files with 5 additions and 2 deletions
7
.github/workflows/refactor.yml
vendored
7
.github/workflows/refactor.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue