What this means
What this means
A deploy hook is a unique HTTPS URL tied to your app. Calling it from a CI workflow triggers a fresh deploy — pulling the latest code, running the build command, and restarting the service. You never need to share portal credentials with your pipeline.
Before you start
Before you start
Have a deployed app in the portal, a GitHub Actions or other CI pipeline configured, and access to your repository's secrets settings.
Step-by-step guidance
Step-by-step guidance
- Open the app service in the portal and scroll to the CI/CD Deploy Hook section.
- Click Generate Token to create a unique hook URL for this app.
- Copy the hook URL and add it as a secret in your GitHub repository under Settings → Secrets and variables → Actions.
- In your GitHub Actions workflow YAML, add a step after your build that sends a POST request to the hook URL.
- Push a change to your repository and watch the Runtime Logs panel in the portal to confirm the redeploy was triggered.
What CM Cloud support will review
What CM Cloud support will review
Support reviews hook token generation, deploy log output after the CI trigger, and whether the redeploy is completing successfully.
What is not automated yet
What is not automated yet
This guide does not create GitHub repositories, write workflow YAML files, configure CI secrets, or manage repository access.
Safety note
Safety note
Reading this article does not capture payment, provision infrastructure, register or transfer domains, change DNS, write Cloudflare or WHMCS, call providers, start workers, create retries, or enable live execution.
Safe next action
Safe next action
Generate your deploy hook token from the app service detail page, then add it to your CI workflow secrets.