chore(ci): add netlify build book
- https://docs.netlify.com/configure-builds/build-hooks/
This commit is contained in:
parent
add4913170
commit
c4b7612b01
|
@ -26,3 +26,15 @@ pages:
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
|
|
||||||
|
netlify:
|
||||||
|
stage: deploy
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- apk update && apk add curl
|
||||||
|
|
||||||
|
script:
|
||||||
|
- curl -X POST -d '{}' https://api.netlify.com/build_hooks/$NETLIFY_BUILD_HOOK
|
||||||
|
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
|
|
Loading…
Reference in New Issue