Skip to content

Commit 8228666

Browse files
committed
Dryrun upload to S3
1 parent 9a02c1b commit 8228666

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
- name: Install deps
156156
run: |
157157
sudo apt-get install -y gettext
158-
pip install requests sh click setuptools
158+
pip install requests sh click setuptools awscli
159159
wget https://s3.amazonaws.com/adafruit-circuit-python/gcc-arm-embedded_7-2018q2-1~xenial1_amd64.deb && sudo dpkg -i gcc-arm-embedded*_amd64.deb
160160
- name: Versions
161161
run: |
@@ -174,6 +174,11 @@ jobs:
174174
with:
175175
name: ${{ matrix.board }}
176176
path: bin/${{ matrix.board }}
177+
- name: Upload to S3
178+
run: aws s3 cp bin/ s3://adafruit-circuit-python/ --recursive --dryrun --no-progress --region us-east-1
179+
env:
180+
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
181+
aws_secret_access_key: ${{ secrets. AWS_SECRET_ACCESS_KEY }}
177182

178183
website:
179184
runs-on: ubuntu-16.04

0 commit comments

Comments
 (0)