I have a project with .net core web api backend and angular as front end.
I have single repository for both the projects with front end and backend in their own separate folders.
I have written pipeline in azure which builds both front end and backend in two stages whenever anything is pushed to the repository.
Now in the release when I deploy the code it also deploys both front end and backend no matter if only backend is changed or only front end is changed.
Is this approach correct to deploy the front end even if nothing is changed on it (same for backend)?
Or should I have two pipeline and releases for front end and backend?
PS: I am the only developer in my team.