Skip to content

Commit

Permalink
Deploy to AWS Bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
tanayseven committed Feb 10, 2024
1 parent 97edc3b commit bad99e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,10 @@ jobs:

- name: Publish the performance badges to Netlify
run: netlify deploy --auth=${{ secrets.NETLIFY_TOKEN }} --dir=test_results/ --site=tanayseven-badges-personal-website.netlify.app

- name: Deploy to AWS bucket
run: aws s3 sync _build/html s3://blog.tanay.tech --delete
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1

0 comments on commit bad99e1

Please sign in to comment.