Unverified Commit cf372353 authored by Alexander Samusev's avatar Alexander Samusev Committed by GitHub
Browse files

[ci][benchmarks] Change output.txt file path in gitlab ci (#898)

parent a7108a7d
Pipeline #220004 passed with stages
in 54 minutes and 11 seconds
......@@ -29,7 +29,7 @@ jobs:
- name: Copy bench results
id: step_one
run: |
cp bench/$(date "+%d-%m-%Y")/output.txt output.txt
cp bench/gitlab/output.txt output.txt
- name: Switch branch
id: step_two
......
......@@ -155,9 +155,10 @@ publish-ghpages:
- git fetch origin gh-pages
# Push result to github
- git checkout gh-pages
- mkdir bench/$(date +%d-%m-%Y) || echo "Directory exists"
- cp artifacts/output.txt bench/$(date +%d-%m-%Y)/
- git add bench/$(date +%d-%m-%Y)/output.txt
- mkdir -p bench/gitlab || echo "Directory exists"
- rm -f bench/gitlab/output.txt || echo "No output.txt"
- cp artifacts/output.txt bench/gitlab/
- git add bench/gitlab/output.txt
- git commit -m "Add output.txt with benchmark results for ${CI_COMMIT_REF_NAME}"
- git push origin gh-pages
allow_failure: true
......
Supports Markdown
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