简体   繁体   中英

How can I upload the files on Github to AWS S3 bucket using boto3?

I am automating a task using boto3. I have configured the S3 bucket to host a static website, I want to upload my HTML files from github to s3 bucket using boto3. Is that possible? I was thinking of using pyGithub to clone the repo locally and the upload it to AWS s3 using boto3. Any other way I can achieve it?

This pattern describes the steps required to add a continuous integration and continuous delivery (CI/CD) pipeline to s3 bucket. It uses GitHub as a source provider. The pipeline gets triggered when new items are committed, and the changes are then reflected in the S3 bucket. 在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM