Skip to content

Conversation

@FNeiva
Copy link

@FNeiva FNeiva commented Sep 10, 2025

When deploying the app to Databricks Apps using the deploy.sh script, it mostly uses the Databricks SDK but for the file upload part it relies on the Databricks CLI. When calling the Databricks CLI to upload files, it was missing the profile argument. Therefore, for anyone trying to deploy the app to a different profile than the DEFAULT one, it would fail.

This change adds a minor fix by checking if the profile has been set on the deployment script. If so, it appends the profile argument to make sure it uploads the source code to the correct Databricks workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant