I am trying to deploy a logic app workflow in logic app standard using azure devops pipeline.
I am using copy files and publish artifact task for build pipeline., but I am not sure about CD pipeline what task should be used I tried checking on internet it shows we can use function app deploy task or arm template deploy task with ARM template deploy task I am getting error though, can anyone suggest what is the right approach for performing this deployment
The easiest to deploy Logic App Standard is to use AzureFunctionApp@1 as you mentioned in your problem. This task will create a Zip-Deploy, essentially moving all the files from the logic app folder into the fileshare that is used and extract & replace the existing files.
You did not provide any error messages that we could investigate. I found this guide that you can follow to create a working pipeline for the Logic App you are building.