From 1aaa06cf2ad0dbe17d3aa915ce9ae5529a5a46d6 Mon Sep 17 00:00:00 2001 From: Alexandre SOARES <72209227+AS-37@users.noreply.github.com> Date: Sat, 15 Jan 2022 19:31:02 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Deploy=20Netlify?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a61c477..17090b5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,7 +30,13 @@ jobs: - image: buildpack-deps:trusty steps: - checkout + - run: + name: install netlily + command: yarn add -D netlify-cli + - run: + name: deploy app + command: yarn netlify deploy --prod --dir=/tmp/server-doc - run: name: Netlify Deploy - command: ./node_modules/.bin/netlify deploy --site $NETLIFY_SITE_ID --auth + command: yarn netlify deploy --site $NETLIFY_SITE_ID --auth $NETLIFY_ACCESS_TOKEN \ No newline at end of file