Merge pull request #302 from makermelissa/master
Added GitHub Actions to upload assets to S3
This commit is contained in:
commit
1de03828e6
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:
|
with:
|
||||||
pattern: "bundles/*"
|
pattern: "bundles/*"
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
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