Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hannafarah authored Feb 12, 2022
1 parent bd27b5c commit 192a951
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,16 @@ jobs:
channel: 'stable' # or: 'beta' or 'master'
- run: flutter --version
- run: flutter pub get
- run: flutter test
#- run: flutter test
- run: flutter build web

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{secrets.AWS_ACCESS_KEY_ID}}
aws-secret-access-key: ${{secrets.AWS_ACCESS_KEY_SECRET}}
aws-region: us-east-1

- name: Sync to S3
run: aws s3 sync . s3://csi5112lec5 --delete --cache-control maxage=0 --acl public-read
working-directory: ./build/web

0 comments on commit 192a951

Please sign in to comment.