From 7f2b829a89d529cabb4b2fa29f529fa28a8cbc5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Fri, 28 Jun 2019 14:04:35 +0900 Subject: [PATCH] Fix indent --- .circleci/config.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f8df5e62b..2d96738fc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -79,11 +79,11 @@ jobs: excepted="<>" actual="v$(cat package.json | jq -r '.version' | awk -F. '{print $1}')" if [ $excepted = $actual ] - then - yarn build - touch yarn.lock - else - echo -e '\033[0;33mBuild Aborted\033[0;39m' + then + yarn build + touch yarn.lock + else + echo -e '\033[0;33mBuild Aborted\033[0;39m' fi - save_cache: name: Cache npm packages @@ -112,10 +112,10 @@ jobs: excepted="<>" actual="v$(cat package.json | jq -r '.version' | awk -F. '{print $1}')" if [ $excepted = $actual ] - then - yarn test - else - echo -e '\033[0;33mTest Aborted\033[0;39m' + then + yarn test + else + echo -e '\033[0;33mTest Aborted\033[0;39m' fi touch yarn.lock - save_cache: @@ -144,12 +144,12 @@ jobs: name: Deploy command: | if [ "$DOCKERHUB_USERNAME$DOCKERHUB_PASSWORD" ] - then - docker tag misskey/misskey misskey/misskey:$(cat package.json | jq -r .version) - docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD - docker push misskey/misskey - else - echo -e '\033[0;33mDeploy Aborted\033[0;39m' + then + docker tag misskey/misskey misskey/misskey:$(cat package.json | jq -r .version) + docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD + docker push misskey/misskey + else + echo -e '\033[0;33mDeploy Aborted\033[0;39m' fi docker-ok: executor: docker