Reputation: 2158
The deployment starts by cloning the source code but the process generates an error immediately
git-lfs seems to be the issue!
git-lfs smudge '.vscode/launch.json': 1: git-lfs smudge '.vscode/launch.json': git-lfs: Permission denied
error: external filter 'git-lfs smudge %f' failed -1
error: external filter 'git-lfs smudge %f' failed
fatal: .vscode/launch.json: smudge filter lfs failed
/usr/bin/git checkout master --force
What should I do to overcome the issue?
Many thanks for the time you will invest on this issue
Upvotes: 0
Views: 399
Reputation: 30343
You can have a try using Azure devops pipeline to deploy to Azure app service.
You can click here to create an Azure DevOps organization if you donot have one.
Then follow below steps to create an azure devops pipeline
1,Sign in to your Azure DevOps organization and navigate to your project.
2, Connect your azure subscription with Azure devops pipeline with service connections
3,In your project, navigate to the Pipelines page. Then choose the action to create a new pipeline.
4, Choose Bitbucket Cloud(YAML) to create a pipeline in YAML pipeline, or select `use classic editor to create a UI pipeline
5, After you finishing creating your pipeline, Edit
your pipeline to check the option Checkout files from LFS
In yaml pipeline, yon can find option Checkout files from LFS
by following below steps.
Click 3dots--> Triggers--> YAML tab-->Get sources
6, Configure your pipeline to build and deploy your python project. see example here.
Upvotes: 1