Skip to content

Commit

Permalink
ci: Do not use yes for overwriting cp
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas committed Jun 13, 2018
1 parent bc93f98 commit 0cc02f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
- run: git config --global user.email "hi@ory.am"
- run: git config --global user.name "ORY Continuous Integration"
- run: "git clone https://arekkas:$DOCS_TOKEN_PUSH@github.com/ory/docs.git ../docs"
- run: "yes | cp -rf ./docs/api.swagger.json ../docs/apis/hydra.json"
- run: "cp ./docs/api.swagger.json ../docs/apis/hydra.json"
- run: "(cd ../docs && git add -A && git commit -a -m \"Updates ORY Hydra Swagger definitions\" && git push origin) || exit 0"

benchmark:
Expand All @@ -157,7 +157,7 @@ jobs:
- run: ./scripts/run-bench.sh
- run: cat BENCHMARKS.md
- run: "git clone https://arekkas:$DOCS_TOKEN_PUSH@github.com/ory/docs.git ../docs"
- run: "yes | cp -rf BENCHMARKS.md ../docs/guides/performance/1-hydra.md"
- run: "cp BENCHMARKS.md ../docs/guides/performance/1-hydra.md"
- run: "(cd ../docs && git add -A && git commit -a -m \"Updates ORY Hydra Performance benchmarks\" && git push origin) || exit 0"

workflows:
Expand Down

0 comments on commit 0cc02f8

Please sign in to comment.