Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit 7658d22

Browse files
author
Andronik Ordian
authored
stable(rpc-docs): avoid recursive copy (#9613)
* stable: avoid recursive cp in rpc-docs * rpc-docs: remove cd ..
1 parent 1b3b115 commit 7658d22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/gitlab-rpc-docs.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ upload_files() {
4242
git push --tags
4343
}
4444

45-
PROJECT_DIR=$(pwd)
45+
RPC_TRAITS_DIR="rpc/src/v1/traits"
4646

4747
setup_git
48-
cd ..
4948
clone_repos
50-
cp -r $PROJECT_DIR jsonrpc/.parity
49+
mkdir -p "jsonrpc/.parity/$RPC_TRAITS_DIR"
50+
cp $RPC_TRAITS_DIR/*.rs "jsonrpc/.parity/$RPC_TRAITS_DIR"
5151
cd jsonrpc
5252
build_docs
5353
cd ..

0 commit comments

Comments
 (0)