---
title: "Comment by Airat Yusuff on \"Hosting a static website on AWS S3 bucket using Github Actions.\" | Hashnode"
description: "Thanks for sharing this article. I used it along with one other to deploy my portfolio and it was helpful! Here are some work-arounds I used for mine: 1) For th"
url: "https://hashnode.com/posts/hosting-a-static-website-on-aws-s3-bucket-using-github-actions/625de4aa57bc361115202aba/comment/62714538f602e011e9f6688d"
---

[Discussion](https://hashnode.com/posts/hosting-a-static-website-on-aws-s3-bucket-using-github-actions/625de4aa57bc361115202aba)

Comment [Hosting a static website on AWS S3 bucket using Github Actions.](https://hashnode.com/posts/hosting-a-static-website-on-aws-s3-bucket-using-github-actions/625de4aa57bc361115202aba)

[Airat Yusuff](https://hashnode.com/@khairahscorner)

[May 3, 2022](https://hashnode.com/posts/hosting-a-static-website-on-aws-s3-bucket-using-github-actions/625de4aa57bc361115202aba/comment/62714538f602e011e9f6688d)

Thanks for sharing this article. I used it along with one other to deploy my portfolio and it was helpful!

Here are some work-arounds I used for mine:

1) For the issue about the AccessControlList error, instead of enabling ACLs under Object Ownership, I added the access I needed from the build error I was getting. I added it in the Bucket policy under `Actions` i.e

```
"Action": [
        "s3:GetObject",
        "s3:GetObjectVersion",
        "s3:PutObject",
      ],
```

2) My .yml file was different, it had more jobs to run as it was for a React app.

Thanks again

[Busayo Akanni](https://hashnode.com/@Bu)

[May 3, 2022](https://hashnode.com/posts/hosting-a-static-website-on-aws-s3-bucket-using-github-actions/625de4aa57bc361115202aba/comment/62714538f602e011e9f6688d#reply-627175a0d64dcf11c4fb5b50)

I'm glad this helped. Will definitely reexamine my Bucket policy. Thanks!
