ci: Do not use yes for overwriting cp
@@ -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:
@@ -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:
