mirror of
https://github.com/offen/website.git
synced 2024-11-24 18:00: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:
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user