ci: fix rpc docs generation 2 (#9550)
This commit is contained in:
parent
ecb39bcf39
commit
224a7204de
@ -42,12 +42,12 @@ upload_files() {
|
|||||||
git push --tags
|
git push --tags
|
||||||
}
|
}
|
||||||
|
|
||||||
RPC_TRAITS_DIR="rpc/src/v1/traits/"
|
RPC_TRAITS_DIR="rpc/src/v1/traits"
|
||||||
|
|
||||||
setup_git
|
setup_git
|
||||||
clone_repos
|
clone_repos
|
||||||
mkdir -p "jsonrpc/.parity/$RPC_TRAITS_DIR"
|
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
|
cd jsonrpc
|
||||||
build_docs
|
build_docs
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
Reference in New Issue
Block a user