diff --git a/docs/build b/docs/build index 1ca3fdb85..53721eb1f 100755 --- a/docs/build +++ b/docs/build @@ -1,3 +1,4 @@ #!/bin/sh +set -e -cd src; hugo \ No newline at end of file +cd src; hugo diff --git a/docs/ci b/docs/ci index 1584c5e18..b2f2252f3 100755 --- a/docs/ci +++ b/docs/ci @@ -1,4 +1,5 @@ #!/bin/bash +set -e # This script gets run from CI to render and upload docs diff --git a/docs/setup b/docs/setup index 8a9c31fdf..cb63841a4 100755 --- a/docs/setup +++ b/docs/setup @@ -1,4 +1,5 @@ #!/bin/sh +set -e aws configure set preview.cloudfront true aws --profile mitmproxy \ diff --git a/docs/upload-archive b/docs/upload-archive index 86dd248e5..1641c50a8 100755 --- a/docs/upload-archive +++ b/docs/upload-archive @@ -1,4 +1,5 @@ #!/bin/sh +set -e if [[ $# -eq 0 ]] ; then echo "Please supply a version, e.g. 'v3'" diff --git a/docs/upload-stable b/docs/upload-stable index c2c1267e7..e7dbcad3c 100755 --- a/docs/upload-stable +++ b/docs/upload-stable @@ -1,4 +1,5 @@ #!/bin/sh +set -e aws configure set preview.cloudfront true aws --profile mitmproxy \