From e6cd39f4c33a41c6dc12fd541b79d6a0885c3f3d Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Thu, 21 Apr 2022 17:06:18 +0200 Subject: [PATCH] [ci] small fixes (#1196) --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d88762bb5..77a78f7a02 100644 --- a/.gitlab-ci.yml +++ b/.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