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
- Log into your 21YunBox dashboard
- Navigate to the “Settings” tab of your project
- Locate and copy the Deploy Webhook URL
- Keep this URL handy for the next step
Step 2: Set Up Azure DevOps Integration
Access Service Hooks
- Open your Azure DevOps project
- Go to Project Settings
- Select “Service hooks”
Create New Service Hook
- Click the “+ Create subscription” button to add a new service hook
- Select “Web Hooks” from the available options
Configure Trigger Settings
- Set “Code pushed” as your Trigger event
- Select your target repository
- Choose the branch you want to monitor
Complete the Integration
- In the “Action” section, locate the “Payload URL” field
- Paste your 21YunBox Deploy Webhook URL
- Save your configuration
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.