Skip to content
Snippets Groups Projects
Commit abb57400 authored by Alexander Samusev's avatar Alexander Samusev Committed by GitHub
Browse files

[ci] small fixes for benchmark jobs (#1195)

parent ed179554
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment