chore(ci): add cloudflare deploy hook

- https://developers.cloudflare.com/pages/platform/deploy-hooks
This commit is contained in:
MDLeom 2022-01-08 23:34:44 +00:00
parent 26d3107db5
commit 6e4977387b
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ netlify:
script:
- curl -X POST -d '{}' https://api.netlify.com/build_hooks/$NETLIFY_BUILD_HOOK
- curl -X POST "https://api.cloudflare.com/client/v4/pages/webhooks/deploy_hooks/$CLOUDFLARE_BUILD_HOOK"
rules:
# Only trigger through schedule job and "Run pipeline" in the main branch