mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-30 21:09:29 +00:00
fix: Inline secret refs in curl URL to avoid env var issues
SERVICE_NAME env var may conflict with GitHub Actions internals. Inline the secrets directly in the URL template instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0295df0bf0
commit
758e79bb59
2 changed files with 2 additions and 6 deletions
4
.github/workflows/improve.yml
vendored
4
.github/workflows/improve.yml
vendored
|
|
@ -16,8 +16,6 @@ jobs:
|
|||
- name: Trigger improve sprite
|
||||
env:
|
||||
SPRITE_TOKEN: ${{ secrets.SPRITE_TOKEN }}
|
||||
SPRITE_NAME: ${{ secrets.IMPROVE_SPRITE_NAME }}
|
||||
SERVICE_NAME: ${{ secrets.IMPROVE_SERVICE_NAME }}
|
||||
run: |
|
||||
curl -s -X POST "https://api.sprites.dev/v1/sprites/${SPRITE_NAME}/services/${SERVICE_NAME}/start?duration=0s" \
|
||||
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}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue