ci: fix rpc docs generation 2 (#9550)

This commit is contained in:
Andronik Ordian 2018-09-13 14:36:44 +02:00 committed by 5chdn
parent ecb39bcf39
commit 224a7204de
No known key found for this signature in database
GPG Key ID: 1A40871B597F5F80

View File

@ -42,12 +42,12 @@ upload_files() {
git push --tags
}
RPC_TRAITS_DIR="rpc/src/v1/traits/"
RPC_TRAITS_DIR="rpc/src/v1/traits"
setup_git
clone_repos
mkdir -p "jsonrpc/.parity/$RPC_TRAITS_DIR"
cp -r "$RPC_TRAITS_DIR" "jsonrpc/.parity/$RPC_TRAITS_DIR"
cp $RPC_TRAITS_DIR/*.rs "jsonrpc/.parity/$RPC_TRAITS_DIR"
cd jsonrpc
build_docs
cd ..