From 485870296db4cea55eebaf532958adfb76129d8e Mon Sep 17 00:00:00 2001 From: Andronik Ordian Date: Tue, 11 Sep 2018 09:38:35 +0200 Subject: [PATCH] ci: fix json docs generation (#9515) --- scripts/gitlab/rpc-docs.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/gitlab/rpc-docs.sh b/scripts/gitlab/rpc-docs.sh index a01ab1280be..86e751412d2 100755 --- a/scripts/gitlab/rpc-docs.sh +++ b/scripts/gitlab/rpc-docs.sh @@ -42,9 +42,12 @@ upload_files() { git push --tags } +RPC_TRAITS_DIR="rpc/src/v1/traits/" + setup_git clone_repos -cp -r parity/ jsonrpc/.parity/ +mkdir -p "jsonrpc/.parity/$RPC_TRAITS_DIR" +cp -r "$RPC_TRAITS_DIR" "jsonrpc/.parity/$RPC_TRAITS_DIR" cd jsonrpc build_docs cd ..