Skip to content

Commit

Permalink
ci: Stops benchmark result commit & pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas committed Jun 13, 2018
1 parent f67f5df commit e592c17
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .circleci/config.yml
Expand Up @@ -155,10 +155,11 @@ jobs:
- run: dep ensure -vendor-only
- run: go install .
- run: ./scripts/run-bench.sh
- run: git remote rm origin
- run: git remote add origin https://arekkas:$GITHUB_TOKEN@github.com/ory/hydra.git
- run: git fetch origin
- run: "if [[ $(git log --oneline -n 1) != *\"Updates benchmarks\"* ]]; then (git commit -m \"Updates benchmarks\" -- BENCHMARKS.md && git push -u origin $CIRCLE_BRANCH); fi"
- run: cat BENCHMARKS.md
# - run: git remote rm origin
# - run: git remote add origin https://arekkas:$GITHUB_TOKEN@github.com/ory/hydra.git
# - run: git fetch origin
# - run: "if [[ $(git log --oneline -n 1) != *\"Updates benchmarks\"* ]]; then (git commit -m \"Updates benchmarks\" -- BENCHMARKS.md && git push -u origin $CIRCLE_BRANCH); fi"

workflows:
version: 2
Expand All @@ -179,7 +180,7 @@ workflows:
- benchmark:
filters:
branches:
only: master
only: /.*/
- swagger:
filters:
tags:
Expand Down

0 comments on commit e592c17

Please sign in to comment.