From abb574000e01afbdb0b0947fcfb8854e348bb99b Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Fri, 22 Apr 2022 11:10:47 +0200 Subject: [PATCH] [ci] small fixes for benchmark jobs (#1195) --- cumulus/.gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cumulus/.gitlab-ci.yml b/cumulus/.gitlab-ci.yml index 2d88762bb5..77a78f7a02 100644 --- a/cumulus/.gitlab-ci.yml +++ b/cumulus/.gitlab-ci.yml @@ -202,7 +202,7 @@ benchmarks-build: script: - time cargo build --profile production --locked --features runtime-benchmarks - mkdir artifacts - - cp $CARGO_TARGET_DIR/production/polkadot-collator ./artifacts/ + - cp target/production/polkadot-collator ./artifacts/ benchmarks: stage: benchmarks-run @@ -220,7 +220,7 @@ benchmarks: - rm -rf .git/config - git config --global user.email "${GITHUB_EMAIL}" - git config --global user.name "${GITHUB_USER}" - - git config remote.origin.url "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com:/paritytech/${CI_PROJECT_NAME}.git" + - git config remote.origin.url "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/paritytech/${CI_PROJECT_NAME}.git" - git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" # push results to github - git checkout -b $BRANCHNAME