Comments (11)
@kodyang The existing deployment options that you have mentioned is msdeploy, however, we have started using zipdeploy in actions as well as in our newer tasks.
According to the documentation here: https://docs.microsoft.com/en-us/azure/app-service/deploy-zipdeploy Deletes the files left over from a previous deployment. However the zip deploy will only delete files that were part of a previous deployment and are not in the deployment artifact.
from webapps-deploy.
@eaarora-ms your link is 404.
Agree with @kodyang, using azure/webapps-deploy
to deploy, it don't remove existing files, making the web app very difficult to debug because of extraneous files (development environment != production web app).
from webapps-deploy.
I believe the correct link is https://docs.microsoft.com/en-us/azure/app-service/deploy-zip
However the zip deploy will only delete files that were part of a previous deployment and are not in the deployment artifact.
@eaarora-ms This hasn't been my experience. My application has always been deployed via GitHub Actions but old project files still existed inside the webapp after they were deleted from my GitHub repo.
from webapps-deploy.
What is the status of this issue? It's very important to start each deployment with a clean (empty) target directory. Currently this is a blocking issue for using webapps-deploy.
from webapps-deploy.
We use Kudu REST API for deployment. there is already bug on kudu team for this. projectkudu/kudu#2822, projectkudu/kudu#3183
from webapps-deploy.
Amruta, that bug was last responded to by the team in 2018.
from webapps-deploy.
@eaarora-ms your link is 404.
Agree with @kodyang, using
azure/webapps-deploy
to deploy, it don't remove existing files, making the web app very difficult to debug because of extraneous files (development environment != production web app).
for different enviornments you can use slots https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
from webapps-deploy.
Amruta, that bug was last responded to by the team in 2018.
We are following up with Kudu team for this issue. But currently we are unable to repro this. Can you share repro steps?
from webapps-deploy.
The repro was stated by @kodyang at the top of this issue, and has not changed: "The deployment only creates new files and overwrites existing ones, but does not delete files not part of the deployment"
from webapps-deploy.
Since this issue is on Kudu API which action uses please raise issue under https://github.com/projectkudu/kudu/issues/. Closing the issue.
from webapps-deploy.
Over six years old issue and still not solved? That is terrible, especially if I'm reading php class files in specific folders and performing actions on them using Reflection. Old files, which are no longer in git causing errors because of their different structure.
from webapps-deploy.
Related Issues (20)
- Successful deployment reported despite error HOT 2
- Code is not updated in linux based Azure Functions using ZIP package deploy HOT 1
- v3 deployment does not work with clean:false HOT 13
- Not able to apply npm install flags HOT 1
- README doesn't have a v3 example or explanation of the differences HOT 4
- Add sample(s) for OIDC HOT 1
- Azure Web App deployment from .zip fails after successfully deploying the content HOT 2
- V3 using node.js 16 upgrade to node.js 20 seeing 16 is deprecated HOT 16
- Deploy to web app does not working for .NET 8 and Linux based deployment - azure/webapps-deploy@v3 HOT 4
- Microsoft Azure Build and deploy PHP app to Azure Web App: Laravel App - Unable to create lockable file HOT 2
- Deployment Faile***, Error: Resource azwb********-tot doesn't exist. HOT 5
- The new option Clean should have defaulted to false or been highlighted as a breaking change HOT 4
- Azure Web Application not updated, action still claims "Success" HOT 9
- Can't deploy to ACA-based Function App
- Cann't show submit messages, ONLY show OneDeploy
- Parameter ''using: node20' is not supported, use 'docker', 'node12' or 'node16' instead.'
- nodes
- util_1.promisify is not a function HOT 4
- Long deployment urls are cut off for slots HOT 1
- update
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webapps-deploy.