Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.

Commit d7d3d1a

Browse files
committed
add deploy to s3
1 parent e65d88f commit d7d3d1a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.circleci/config.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
- run:
1414
name: Install prerequisite
1515
command: |
16-
sudo apt-get install -y software-properties-common
16+
sudo apt-get install -y software-properties-common
1717
sudo add-apt-repository -y ppa:chris-lea/redis-server
18-
sudo apt-get install -y clang llvm cmake python-pip redis-server
18+
sudo apt-get install -y clang llvm cmake python-pip redis-server awscli
1919
pip install 'ramp-packer==1.9.0'
2020
2121
- run:
@@ -71,6 +71,12 @@ jobs:
7171
- "~/.cargo"
7272
- "./target"
7373

74+
- run:
75+
name: Deploy to S3
76+
command: >-
77+
aws s3 cp ./target/release/ s3://redismodules/$PACKAGE_NAME/ --acl
78+
public-read --recursive --exclude "*" --include "*.zip"
79+
7480
# - run:
7581
# name: Run all tests
7682
# command: cargo test --all

0 commit comments

Comments
 (0)