Added GitHub Actions to upload assets to S3
This commit is contained in:
parent
80444663e5
commit
440e88e2c7
1 changed files with 5 additions and 0 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
|
@ -47,3 +47,8 @@ jobs:
|
|||
with:
|
||||
pattern: "bundles/*"
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Upload Assets To AWS S3
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
run: "[ -z \"$AWS_ACCESS_KEY_ID\" ] || aws s3 cp bundles/ s3://adafruit-circuit-python/bundles/adafruit --recursive --no-progress --region us-east-1"
|
||||
|
|
|
|||
Loading…
Reference in a new issue