diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ac3e44892..4d58a238d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -230,6 +230,7 @@ json-rpc-docs: - scripts/gitlab-rpc-docs.sh tags: - docs + cache: {} push-release: stage: push-release only: diff --git a/scripts/gitlab-rpc-docs.sh b/scripts/gitlab-rpc-docs.sh index de03fc69f..5050440ee 100755 --- a/scripts/gitlab-rpc-docs.sh +++ b/scripts/gitlab-rpc-docs.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash +set -e # fail on errors + + + clone_repos() { git clone https://github.com/parity-js/jsonrpc.git jsonrpc git clone https://github.com/paritytech/wiki.git wiki