chore(ci): add cloudflare deploy hook
- https://developers.cloudflare.com/pages/platform/deploy-hooks
This commit is contained in:
parent
b8e8e71088
commit
036fb70fc4
|
@ -39,7 +39,8 @@ netlify:
|
|||
- apk update && apk add curl
|
||||
|
||||
script:
|
||||
- curl -X POST -d '{}' https://api.netlify.com/build_hooks/$NETLIFY_BUILD_HOOK
|
||||
- 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
|
||||
|
|
Loading…
Reference in New Issue