From f13d9648f0e49f04e704bfdfbbb4a983aacfb714 Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Sat, 2 May 2020 11:25:57 +0200 Subject: [PATCH] use premade orb for installing aws cli --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 89a2fc5..a63cecb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,17 +1,14 @@ -version: 2 +version: 2.1 jobs: deploy: docker: - - image: circleci/python:3.7 + - image: cimg/python:3.7 working_directory: ~/offen steps: - checkout - setup_remote_docker - - run: - name: Install deployment dependencies - command: | - sudo pip install -q awscli --upgrade + - aws-cli/install - run: name: Build and deploy to S3 command: | @@ -42,3 +39,6 @@ workflows: only: - master - development + +orbs: + aws-cli: circleci/aws-cli@1.0.0