From 13b6d96b846cef4b2473fa48caae74e61eb5af81 Mon Sep 17 00:00:00 2001 From: vaasu Date: Fri, 31 Jan 2020 17:44:54 +0530 Subject: [PATCH] Added configuration for heroku deployment through circle ci --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 096d4e2..b81b8cb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,6 +29,15 @@ jobs: npm install - run: npm run build -- --message "build ${CIRCLE_BUILD_NUM} on ${CIRCLE_BRANCH} (${CIRCLE_SHA1})" + deploy: + docker: + - image: buildpack-deps:trusty + steps: + - checkout + - run: + name: Deploy Master to Heroku + command: | + git push https://heroku:a478c20f-0249-4285-9d06-edba5b011a28@git.heroku.com/picturestory-v2.git development workflows: version: 2