From 63c5359b93d9daa2b0daf342e839df7b3e3d4c19 Mon Sep 17 00:00:00 2001 From: Pavlos Vinieratos Date: Tue, 20 Oct 2020 18:16:29 +0200 Subject: [PATCH] ci --- .circleci/config.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..9618110 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,35 @@ +version: 2.1 + + +orbs: + node: circleci/node@2.1.1 + aws: circleci/aws-s3@2.0.0 + + +jobs: + deploy-json: + machine: + image: ubuntu-1604:202007-01 + steps: + - checkout + - node/install: + node-version: 12.16.2 + install-yarn: true + install-npm: false + - run: yarn install + - add_ssh_keys: + fingerprints: + - "64:ce:5e:b5:3f:c5:fe:94:90:7a:fb:d5:5f:c5:a7:ef" + - run: ./scripts/deploy.sh + + +workflows: + deploy: + jobs: + - deploy-json: + filters: + branches: + only: + - master + - production + context: echo