---
title: "Discussion on \"Hosting a static website on AWS S3 bucket using Github Actions.\" | Hashnode"
description: "Discussion on \"Hosting a static website on AWS S3 bucket using Github Actions.\". By Busayo Akanni"
url: "https://hashnode.com/posts/hosting-a-static-website-on-aws-s3-bucket-using-github-actions/625de4aa57bc361115202aba"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Hosting a static website on AWS S3 bucket using Github Actions.](https://bubu.hashnode.dev/hosting-a-static-website-on-aws-s3-bucket-using-github-actions?utm_source=hashnode&utm_medium=feed)

By Busayo Akanni

Apr 18, 2022 · 8 min read · bubu.hashnode.dev  
Read the article

-   [#amazon-s3](https://hashnode.com/tag/amazon-s3)
-   [#aws](https://hashnode.com/tag/aws)
-   [#github-actions-1](https://hashnode.com/tag/github-actions-1)
-   [#github](https://hashnode.com/tag/github)
-   [#ci-cd](https://hashnode.com/tag/ci-cd)

## Written by

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

@Bu

  
[View profile](https://hashnode.com/@Bu)

DevOps Engineer

## Responses 5

Markdown supported · ⌘↵ to post

[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!

[Ebuka Ezeh](https://hashnode.com/@e6vk4)

[Apr 22, 2022](https://hashnode.com/posts/hosting-a-static-website-on-aws-s3-bucket-using-github-actions/625de4aa57bc361115202aba/comment/6262830d0f819f588af740ee)

I really enjoyed reading this … thank you so much for sharing ✨

[Toba Adesanya](https://hashnode.com/@toba278)

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

Excellent work! Learnt something new. 👍🏽

[Ayomide Akinsanya](https://hashnode.com/@akinsanyaayomide)

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

This is really well explained and detailed. Thanks for sharing this.

[Oluwayomi Oke](https://hashnode.com/@Yoms)

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

This writeup is really explanatory, well-done Busayo
