Skip to content

Commit

Permalink
release images to S3 automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
heythisisnate committed Aug 21, 2022
1 parent 889f889 commit c06f985
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,23 @@ jobs:
release-url: ${{ steps.get_release.outputs.upload_url }}
allow-overwrite: true
github-token: ${{ secrets.GITHUB_TOKEN }}

- uses: keithweaver/[email protected]
name: Copy image to S3
with:
command: cp
source: assets/konnected-esp8266-${{ steps.get_release.outputs.tag_name }}.bin
destination: s3://konnected-io/esp8266/images/
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: us-east-2

- uses: keithweaver/[email protected]
name: Copy LFS to S3
with:
command: cp
source: assets/lfs-${{ steps.get_release.outputs.tag_name }}.img
destination: s3://konnected-io/esp8266/lfs/
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: us-east-2

0 comments on commit c06f985

Please sign in to comment.