Skip to content

Commit c05c92a

Browse files
authored
Change the way bencher commit
1 parent 398f098 commit c05c92a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,11 @@ jobs:
5050
cd rust
5151
pip install numpy matplotlib
5252
python3 out.py
53-
mkdir ../Docs
54-
mv bench_rust.png ../Docs
55-
mv bench_rust_log_scale.png ../Docs
5653
cd ..
5754
git fetch
5855
git checkout gh-pages
59-
git add Docs
56+
mv -f rust/bench_rust.png Docs
57+
mv -f rust/bench_rust_log_scale.png Docs
6058
git commit -m "Publish new benchmark results"
6159
git push origin gh-pages
6260
- name: Save benchmark results

0 commit comments

Comments
 (0)