Get it on the VS Code Marketplace!
This VS Code extension helps you set up continuous build and deployment for Azure WebApps without leaving VS Code.
To set up a pipeline, choose Deploy to Azure: Configure CI/CD Pipeline from the command palette (Ctrl/Cmd + Shift + P) or right-click in the file explorer. The guided workflow will generate a starter YAML file defining the build and deploy process.
For code having GitHub as its git remote, you can customize the pipeline using all the features offered by GitHub Actions, else you can customize the pipeline using all the features offered by Azure Pipelines.
Once the setup is completed, an automatic CI/CD trigger will fire for every code push.
VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. If you don’t wish to send usage data to Microsoft, you can set the telemetry.enableTelemetry
setting to false
. Learn more in our FAQ.
-
Selected workspace is not a Git repository: You can configure a pipeline for a Git repository backed by GitHub or Azure Repos. Initialize your workspace as a Git repo, commit your files, and add a remote to GitHub or Azure Repos. Run the following commands to configure git repository:
git init
git add *
git commit -m <commit-message>
git remote add <remote-name> <remote-url>
-
The current branch doesn't have a tracking branch, and the selected repository has no remotes: You can configure a pipeline for a Git repository backed by GitHub or Azure Repos. To add a new remote Git repository, run
git remote add <remote-name> <remote-url>
-
Failed to determine Azure Repo details from remote url: If you're configuring a pipeline for a Git repository backed by Azure Repos, ensure that it has a remote pointing to a valid Azure Repos Git repo URL.
See CONTRIBUTING.md if you want to jump in!