Merge pull request #2 from run-llama/adrian/fix-llamactl-flags

fix: align CLI flags with current llamactl
This commit is contained in:
Adrian Lyjak
2026-05-11 11:47:32 -04:00
committed by GitHub
2 changed files with 8 additions and 13 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ Update a LlamaAgent deployment on LlamaCloud
### Inputs
| Name | Desscription | Required | Default |
| Name | Description | Required | Default |
|------|--------------|----------|---------|
| `llama-cloud-api-key` | API key for LlamaCloud | true | `''` |
| `llama-cloud-project-id` | Project ID for LlamaCloud | true | `''` |
+7 -12
View File
@@ -33,24 +33,19 @@ runs:
LLAMA_CLOUD_API_KEY: ${{ inputs.llama-cloud-api-key }}
LLAMA_CLOUD_PROJECT_ID: ${{ inputs.llama-cloud-project-id }}
run: |
uvx llamactl auth token --project-id $LLAMA_CLOUD_PROJECT_ID --api-key $LLAMA_CLOUD_API_KEY --no-interactive
uvx llamactl auth token --project "$LLAMA_CLOUD_PROJECT_ID" --api-key "$LLAMA_CLOUD_API_KEY"
shell: bash
- name: Update deployment (without git reference)
if: inputs.git-reference == ''
env:
DEPLOYMENT_ID: ${{ inputs.deployment-id }}
run: |
uvx llamactl deployments update $DEPLOYMENT_ID --no-interactive
shell: bash
- name: Update deployment (with git reference)
if: inputs.git-reference != ''
- name: Update deployment
env:
DEPLOYMENT_ID: ${{ inputs.deployment-id }}
GIT_REFERENCE: ${{ inputs.git-reference }}
run: |
uvx llamactl deployments update $DEPLOYMENT_ID --git-ref $GIT_REFERENCE --no-interactive
if [ -n "$GIT_REFERENCE" ]; then
uvx llamactl deployments update "$DEPLOYMENT_ID" --git-ref "$GIT_REFERENCE"
else
uvx llamactl deployments update "$DEPLOYMENT_ID"
fi
shell: bash
branding: