To deploy a web application to azure scale set there are 2 basic way
1) Immutable VHDs but this I fell is inefficient as waiting 24 min for each build is unacceptable.
2) Custom script extension seems to a possibility but not sure I would used this as part of CD in Azure Devops and deploy my build artifact to Azure Scaleset