Skip to content

A peer-to-peer stack for code collaboration

CI build fails if ref docs not checked in

Thomas Scholtes04bfb70d2b01
diff --git a/cloudbuild.yaml b/cloudbuild.yaml
index 68b24a1..45b6b7d 100644
--- a/cloudbuild.yaml
+++ b/cloudbuild.yaml
@@ -48,7 +48,12 @@ steps:
args:
- '-c'
- |
+ mv docs/source/reference.rst oldref
stack exec radicle-ref-doc
+ if ! (diff oldref docs/source/reference.rst); then
+ echo "Reference docs are not checked in"
+ exit 1
+ fi
- id: "Save cache"
name: gcr.io/cloud-builders/gsutil