User-719153870 posted
Hi robby32,
Once i swap to the production does the swap action replace all files on the production server and do a similar action ?
If you mean whether the original files in your prod slot will be swapped when you swap from stage to prod, then the answer is NO.
The processes of "publish from other resource(from VS or Azure DevOps for example) to Azure App Service" and "swap from one slot to another in Azure" are totally different.
Check What happens during a swap and you will find that the target slot, production slot in your case, never got changed until the end of
this process.
"If all instances on the source slot are warmed up successfully, swap the two slots by switching the routing rules for the two slots."
"The target slot remains online while the source slot is being prepared and warmed up, regardless of where the swap succeeds or fails."
In conclusion, the original files will not be deleted, updated or swapped, the whole slot is the one who got swapped.
Best Regard,
Yang Shen