Deploy Web Application on Remote Repos at DevOps
Step 1: Create New Repo at DevOps - inside above project
Named this repo as ‘aspnet-core-webap’
Step 2: Create ‘develop’ branch under this repository - inside above project
- Set Develop as default and master as compare
- Develop branch is the branch where all the development activity happens. we integrated CI/CD with this branch as well
Step 3: Clone this Develop Branch at your local - inside above project
- Create a working directory at local
- Cone Develop in your working directory
- A Pop up might ask for DevOps Credential for Authorization, if it is for the first time.
Step 4: Create Web App inside Working Directory & Push
- If already exist copy that project
- if already develop and pushed at devops, then already get the updated copy
- if facing permission issue while git add ., close visual studio. might .vs block this
- Push all files at remote repo Develop using push
- Cross check all files are now available at DevOps