2
0
mirror of https://github.com/offen/website.git synced 2024-10-18 12:10:25 +02:00

use premade orb for installing aws cli

This commit is contained in:
Frederik Ring 2020-05-02 11:25:57 +02:00
parent a06faafc6b
commit f13d9648f0

View File

@ -1,17 +1,14 @@
version: 2 version: 2.1
jobs: jobs:
deploy: deploy:
docker: docker:
- image: circleci/python:3.7 - image: cimg/python:3.7
working_directory: ~/offen working_directory: ~/offen
steps: steps:
- checkout - checkout
- setup_remote_docker - setup_remote_docker
- run: - aws-cli/install
name: Install deployment dependencies
command: |
sudo pip install -q awscli --upgrade
- run: - run:
name: Build and deploy to S3 name: Build and deploy to S3
command: | command: |
@ -42,3 +39,6 @@ workflows:
only: only:
- master - master
- development - development
orbs:
aws-cli: circleci/aws-cli@1.0.0