berlam / github-bucket Goto Github PK
View Code? Open in Web Editor NEWDeploy public or private GitHub repositories automatically to S3 buckets using Git and deploy keys.
License: ISC License
Deploy public or private GitHub repositories automatically to S3 buckets using Git and deploy keys.
License: ISC License
When I manually upload the files (html, JS and CSS) using the S3 "upload" option (in Actions), the correct content-types are applied i.e. "text/html" for HTML files.
When the same files are deployed to S3 from github - as a result of a PR merge - their Content-Type are being set to "application/octet-stream", which means the files to not render in the browser. Have you seen this behaviour? I'm using the built JAR file in the releases tab.
Hi can you please help me in resolving this ?
My only aim is to sync my github repo to an s3 bucket, that's it.
I am posting my Cloud watch logs here, I'm not sure whats going on, It says The specified key does not exist and I am assuming WARN Repository:895 - close() called when useCnt is already zero This one is a jgit error.
REPORT RequestId: 23cd6bd6-2797-11e8-85bc-c716ee24b770 Duration: 3878.62 ms Billed Duration: 3900 ms Memory Size: 512 MB Max Memory Used: 137 MB
START RequestId: 8c4f6e0b-279b-11e8-8b04-85f379f9c477 Version: $LATEST
2018-03-14 15:22:46 <8c4f6e0b-279b-11e8-8b04-85f379f9c477> INFO Lambda:75 - Processing 'push' on 'refs/heads/master': 'bf32d8dc87f4640f9bd15e7ef72f91cf763404dd'
2018-03-14 15:22:46 <8c4f6e0b-279b-11e8-8b04-85f379f9c477> INFO Worker:39 - Starting repository synchronization
2018-03-14 15:22:46 <8c4f6e0b-279b-11e8-8b04-85f379f9c477> INFO Worker:55 - Finished repository synchronization
2018-03-14 15:22:46 <8c4f6e0b-279b-11e8-8b04-85f379f9c477> WARN Repository:895 - close() called when useCnt is already zero
2018-03-14 15:22:46 <8c4f6e0b-279b-11e8-8b04-85f379f9c477> ERROR Lambda:95 - The specified key does not exist. (Service: Amazon S3; Status Code: 404; Error Code: NoSuchKey; Request ID: 3809D68937A8EC21)
And I'm also not really sure what do you mean by this:
Place the generated key as .ssh/id_rsa and the known hosts file as .ssh/known_hosts in the S3 bucket. Can you please explain ?
I generated both the files and I'm not sure where to place them.
Final question when you say download the latest release from the release section. ( I am just downlaoding the .jar file and uploading it to the lambda console and I am not doing anything with the remaning 2 files) am I doing something wrong here ?
I would more than appreciate your reply, Thanks in advance.
When creating the new blank Lambda function, what needs to be uploaded? Lambda asks for a ZIP or JAR file - what do we need to upload here? It's not clear from the README.
I followed the steps to generate a deploy key and I set up the lambda exactly as prescribed, however I kept getting this USERAUTH Fail: https://gist.github.com/nsporillo/fbbcba61f36809ccf6fefc83560c424b
On a hunch, I updated my repository name to porillo-net. Suddenly everything works.
I suggest adding a note to the readme regarding repository naming, as I'm not sure it's necessarily a problem with github-bucket's code.
That aside, this is exactly what I was looking for. Great work!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.