How best should I accomplish the following deployment objectives with Git deployment for Azure?
- Easily switch when working locally to either use fake in-memory data or (eventually) non-production snapshot of real data
- Deploy to staging environment on Azure such that at first I could use fake in-memory data and eventually move to non-production snapshot of real data.
- Deploy to production with real data
I currently deploy using Github and a staging branch to a staging Azure website. Since I deploy to a public repo, the web.config file is ignored by git. (EDIT: I just learned that ignoring web.config actually causes deployment error on azure)
Any help/suggestion is appreciated.