Skip to content
This repository has been archived by the owner on Oct 2, 2018. It is now read-only.

e-conomic/github-to-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-to-s3

Download a repo, build it and upload it to s3

npm install github-to-s3

Usage

var githubToS3 = require('github-to-s3')

githubToS3({
  prefix: 'prefix-s3-folder-with-me'
  github: {
    token: 'oauthtoken-if-repo-is-private',
    repo: 'e-conomic/github-to-s3'
  },
  s3: {
    key: 'some-access-key-id',
    secret: 'some-secret-key',
    bucket: 'some-bucket'
  }
}, function(err) {
  console.log('i have been uploaded to s3')
})

CLI

npm install -g github-to-s3
github-to-s3 # will print help

License

MIT

About

Download a repo, build it and upload it to s3

Resources

Stars

Watchers

Forks

Packages

No packages published