@Jinalkumar Patel Thanks for reaching out. There is a very similar issue that was created recently with the Azure/static-web-apps repository having similar asks: Ability to deploy using an Azure DevOps Release Pipeline #510
As mentioned by SWA Team's PM, Anthony, there is a feature being worked upon to enable deploying to Static Web Apps from Azure DevOps Release Pipelines. The tentative ETA for early updates to the Static Web Apps Deploy task to be available is around 4-6 weeks or so.
Please track further updates to the request on the same issue and provide your feedback/requirements as comments to let our Product group know.
Hope this helps. Do let us know if you have further questions.
If an answer is helpful, please "Accept answer" and/or "Up-Vote" which might help other community members reading this thread.