Support CircleCI

pull/378/head
Jimmy song 2019-07-25 16:58:19 +08:00
parent e03c032444
commit 830006e955
3 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ jobs:
command: scripts/lint-gitbook.sh
markdown-spell-check:
docker:
- image: jimmysong/website-builder:2019-07-25
- image: jimmysong/gitbook-builder:2019-07-25
working_directory: ~/gitbook
steps:
- checkout
@ -20,7 +20,7 @@ jobs:
command: scripts/mdspell-check.sh
markdown-style-check:
docker:
- image: jimmysong/website-builder:2019-07-25
- image: jimmysong/gitbook-builder:2019-07-25
working_directory: ~/gitbook
steps:
- checkout

View File

@ -1,3 +1,4 @@
#!/bin/bash
gitbook install
gitbook build
cp images/apple-touch-icon-precomposed-152.png _book/gitbook/images

View File

@ -1,9 +1,8 @@
#!/bin/bash
BOOK_OUTPUT="./_book"
./scripts/build-gitbook.sh
echo -ne "mdspell "
mdspell --version
echo -ne "mdl "
mdl --version
htmlproofer --version
htmlproofer --url-ignore "/localhost/,/172.17.8.101/,/172.20.0.113/,/slideshare.net/,/grpc.io/,/kiali.io/,/condiut.io/,/twitter.com/,/facebook.com/,/medium.com/,/google.com/,/jimmysong.io/,/openfaas.com/,/linkerd.io/,/layer5.io/,/thenewstack.io/,/blog.envoyproxy.io/,/blog.openebs.io/,/k8smeetup.github.io/,/blog.heptio.com/,/apigee.com/,/speakerdeck.com/,/download.svcat.sh/,/blog.fabric8.io/,/blog.heptio.com/,/blog.containership.io/,/blog.mobyproject.org/,/blog.spinnaker.io/,/coscale.com/,/zh.wikipedia.org/,/labs.play-with-k8s.com/,/cilium.readthedocs.io/,/azure.microsoft.com/,/storageos.com/,/openid.net/,/prometheus.io/,/coreos.com/,/openwhisk.incubator.apache.org/" $(BOOK_OUTPUT)
htmlproofer --url-ignore "/localhost/,/172.17.8.101/,/172.20.0.113/,/slideshare.net/,/grpc.io/,/kiali.io/,/condiut.io/,/twitter.com/,/facebook.com/,/medium.com/,/google.com/,/jimmysong.io/,/openfaas.com/,/linkerd.io/,/layer5.io/,/thenewstack.io/,/blog.envoyproxy.io/,/blog.openebs.io/,/k8smeetup.github.io/,/blog.heptio.com/,/apigee.com/,/speakerdeck.com/,/download.svcat.sh/,/blog.fabric8.io/,/blog.heptio.com/,/blog.containership.io/,/blog.mobyproject.org/,/blog.spinnaker.io/,/coscale.com/,/zh.wikipedia.org/,/labs.play-with-k8s.com/,/cilium.readthedocs.io/,/azure.microsoft.com/,/storageos.com/,/openid.net/,/prometheus.io/,/coreos.com/,/openwhisk.incubator.apache.org/" _book