Enabling CD
Similar to when we initially created the build definition, as it stands, the release will only run when we trigger it manually. This may be what you want, depending on the preferences of you or your business, but if you'd rather have your releases triggered automatically after every successful build, then we need to enable CD.
To do so, head back to the Pipeline
tab of our release definition, where you'll see a lightning bolt button in the Artifacts
section. This will open another modal from the right of the screen, where you can set the Continuous deployment trigger
:

Flip the switch here to Enabled
, then remember to hit the Save
button again to ensure that these changes are persisted. Now, every push to our master Git branch will trigger a new build, which if successful will in turn trigger a release to our production Azure environment.