From f2ebfd474df29db28fcff560cde1aec9f2da500a Mon Sep 17 00:00:00 2001 From: shootylife Date: Wed, 2 Dec 2020 10:53:13 +0100 Subject: [PATCH] refactor: Procfile --- .circleci/config.yml | 5 ++++- HTTPCODE=000 if [ -ne 200 ];then;echo heroku | 0 HTTPCODE=000;if [ -ne 200 ];then;echo heroku | 0 Procfile | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 HTTPCODE=000 if [ -ne 200 ];then;echo heroku delete mode 100644 HTTPCODE=000;if [ -ne 200 ];then;echo heroku diff --git a/.circleci/config.yml b/.circleci/config.yml index 179f957..83d043f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,9 +52,12 @@ jobs: steps: - attach_workspace: at: /tmp + - run: + name: install netlify + command: sudo npm install netlify-cli -g - run: name: Deploy app - command: echo todo && false + command: netlify deploy --prod --auth $NETLIFY_AUTH_TOKEN --dir /tmp/server-doc --site $NETLIFY_SITE_ID back-test-unit: docker: - image: circleci/node:dubnium-browsers diff --git a/HTTPCODE=000 if [ -ne 200 ];then;echo heroku b/HTTPCODE=000 if [ -ne 200 ];then;echo heroku deleted file mode 100644 index e69de29..0000000 diff --git a/HTTPCODE=000;if [ -ne 200 ];then;echo heroku b/HTTPCODE=000;if [ -ne 200 ];then;echo heroku deleted file mode 100644 index e69de29..0000000 diff --git a/Procfile b/Procfile index dd1ffd3..709e0a2 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: yarn install \ No newline at end of file +web: yarn start \ No newline at end of file