What this covers
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
Have a deployed app in the portal, a GitHub Actions or other CI pipeline configured, and access to your repository's secrets settings.
How to do it
- 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 our team checks
Support reviews hook token generation, deploy log output after the CI trigger, and whether the redeploy is completing successfully.
Next step
Generate your deploy hook token from the app service detail page, then add it to your CI workflow secrets.