We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 049b414 commit 768b54cCopy full SHA for 768b54c
1 file changed
.github/workflows/run_spicebench_debug_spice_cloud.yml
@@ -12,7 +12,7 @@ on:
12
options:
13
- spice_cloud
14
environment:
15
- description: 'Target environment'
+ description: 'Target Spice Cloud Environment'
16
required: true
17
default: 'dev'
18
type: choice
@@ -68,6 +68,7 @@ jobs:
68
69
- uses: ./.github/actions/management-login
70
with:
71
+ token-url: ${{ github.event.inputs.environment == 'prod' && 'https://api.spice.ai/oauth/token' || 'https://dev-api.spice.ai/oauth/token' }}
72
client-id: ${{ github.event.inputs.environment == 'prod' && secrets.SPICE_MANAGEMENT_CLIENT_ID_PROD || secrets.SPICE_MANAGEMENT_CLIENT_ID }}
73
client-secret: ${{ github.event.inputs.environment == 'prod' && secrets.SPICE_MANAGEMENT_CLIENT_SECRET_PROD || secrets.SPICE_MANAGEMENT_CLIENT_SECRET }}
74
0 commit comments