From 8e7a0fb973c241865576567ff9e0df2d74a46cad Mon Sep 17 00:00:00 2001 From: tchawou-daniel Date: Mon, 18 Jan 2021 02:44:58 +0100 Subject: [PATCH] :wrench: modify .config/config.yml --- .circleci/config.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 55c48f1..4b0e599 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,6 +41,12 @@ jobs: . venv/bin/activate sleep 1 flask db upgrade + - run: + name: flask test + command: | + . venv/bin/activate + sleep 1 + flask test - save_cache: paths: - ./venv @@ -52,7 +58,9 @@ jobs: - checkout - run: name: Heroku Deploy - command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:main + command: | + heroku git:remote -a $HEROKU_APP_NAME + git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:main - run: name: Smoke test command: ./testbackend.sh