Add copy_artifact script to config

This commit is contained in:
Amine.Mesbahi 2020-03-26 11:18:30 +01:00
parent b63d0c6826
commit 4a30faa8ff
1 changed files with 16 additions and 0 deletions

View File

@ -252,6 +252,18 @@ jobs:
publish_tag:
<<: *publish
copy_artifact_s3:
docker:
- image: circleci/python:3.6.4
steps:
- checkout
- attach_workspace:
at: .
- run:
command: |
sudo pip install boto3
python .circleci/copy_artifact_s3.py
workflows:
version: 2
build_test_deploy:
@ -341,6 +353,10 @@ workflows:
tags:
only: /.*/
- copy_artifact_s3:
requires:
- build
- check:
requires:
- build