chore(ci): add cloudflare deploy hook
This commit is contained in:
parent
680e71dc8d
commit
08c7b790a0
|
@ -34,7 +34,8 @@ netlify:
|
||||||
- apk update && apk add curl
|
- apk update && apk add curl
|
||||||
|
|
||||||
script:
|
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:
|
rules:
|
||||||
# Only trigger through schedule job and "Run pipeline" in the main branch
|
# Only trigger through schedule job and "Run pipeline" in the main branch
|
||||||
|
|
Loading…
Reference in New Issue