Want to automatically deploy your application whenever you push changes to Azure Dev Ops? With 21YunBox and Azure DevOps, you can set up continuous deployment in just two simple steps. This guide will show you how to automate your deployment pipeline effectively.

Step 1: Get Your 21YunBox Deploy Webhook URL

  1. Log into your 21YunBox dashboard
  2. Navigate to the “Settings” tab of your project
  3. Locate and copy the Deploy Webhook URL
  4. Keep this URL handy for the next step
The Deploy Webhook URL can be found under the Settings tab
The Deploy Webhook URL can be found under the Settings tab

Step 2: Set Up Azure DevOps Integration

Access Service Hooks

  1. Open your Azure DevOps project
  2. Go to Project Settings
  3. Select “Service hooks”
Navigate to Service hooks in Project Settings
Navigate to Service hooks in Project Settings

Create New Service Hook

  1. Click the “+ Create subscription” button to add a new service hook
  2. Select “Web Hooks” from the available options
Choose Web Hooks from the service hooks list
Choose Web Hooks from the service hooks list

Configure Trigger Settings

  1. Set “Code pushed” as your Trigger event
  2. Select your target repository
  3. Choose the branch you want to monitor
Set up your trigger event parameters
Set up your trigger event parameters

Complete the Integration

  1. In the “Action” section, locate the “Payload URL” field
  2. Paste your 21YunBox Deploy Webhook URL
  3. Save your configuration
Enter your 21YunBox Deploy Webhook URL
Enter your 21YunBox Deploy Webhook URL

What Happens Next?

Once configured, every time you push code to your selected branch, Azure DevOps will automatically trigger 21YunBox to:

  • Pull your latest code
  • Build your application
  • Deploy the updated version

This automated workflow saves time and reduces the chance of deployment errors.

Troubleshooting Tips

If your automatic deployment isn’t working:

  • Verify your webhook URL is correctly copied
  • Ensure your branch name matches exactly
  • Check if you have the necessary permissions in both platforms
  • Review your Azure DevOps service hooks logs for any error messages

Need help? Contact 21YunBox Support: support@21yunbox.com for assistance.

Ready to try 21YunBox?

Get Started