mirror of
https://github.com/offen/website.git
synced 2024-11-24 09:50:27 +01:00
use premade orb for installing aws cli
This commit is contained in:
parent
a06faafc6b
commit
f13d9648f0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user