From ac4d95639d9eafab7d3d4c1b267a6582faf60983 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 16 Jan 2021 14:56:00 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20netlifly=20deploy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 2 +- .gitignore | 3 +++ netlify.toml | 21 +++++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 netlify.toml diff --git a/.circleci/config.yml b/.circleci/config.yml index 0936563..ae5b6ad 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ jobs: - run: yarn global add serve - run: yarn run build - run: yarn run test - - run: yarn run serve + # - run: yarn run serve - save_cache: paths: - node_modules diff --git a/.gitignore b/.gitignore index 863c1df..2512fa3 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,6 @@ yarn-error.log* # Coverage Reports coverage + +# Local Netlify folder +.netlify \ No newline at end of file diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..595822a --- /dev/null +++ b/netlify.toml @@ -0,0 +1,21 @@ +# example netlify.toml +[build] + command = "netlify build" + functions = "functions" + publish = "." + + ## Uncomment to use this redirect for Single Page Applications like create-react-app. + ## Not needed for static site generators. + #[[redirects]] + # from = "/*" + # to = "/index.html" + # status = 200 + + ## (optional) Settings for Netlify Dev + ## https://github.com/netlify/cli/blob/master/docs/netlify-dev.md#project-detection + #[dev] + # command = "yarn start" # Command to start your dev server + # port = 3000 # Port that the dev server will be listening on + # publish = "dist" # Folder with the static content for _redirect file + + ## more info on configuring this file: https://www.netlify.com/docs/netlify-toml-reference/