Skip to content

Commit 768b54c

Browse files
committed
fix
1 parent 049b414 commit 768b54c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/run_spicebench_debug_spice_cloud.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
options:
1313
- spice_cloud
1414
environment:
15-
description: 'Target environment'
15+
description: 'Target Spice Cloud Environment'
1616
required: true
1717
default: 'dev'
1818
type: choice
@@ -68,6 +68,7 @@ jobs:
6868

6969
- uses: ./.github/actions/management-login
7070
with:
71+
token-url: ${{ github.event.inputs.environment == 'prod' && 'https://api.spice.ai/oauth/token' || 'https://dev-api.spice.ai/oauth/token' }}
7172
client-id: ${{ github.event.inputs.environment == 'prod' && secrets.SPICE_MANAGEMENT_CLIENT_ID_PROD || secrets.SPICE_MANAGEMENT_CLIENT_ID }}
7273
client-secret: ${{ github.event.inputs.environment == 'prod' && secrets.SPICE_MANAGEMENT_CLIENT_SECRET_PROD || secrets.SPICE_MANAGEMENT_CLIENT_SECRET }}
7374

0 commit comments

Comments
 (0)