Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hogelog/s3-website-deploy
https://github.com/hogelog/s3-website-deploy
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hogelog/s3-website-deploy
- Owner: hogelog
- License: mit
- Created: 2018-05-21T15:19:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T14:51:11.000Z (about 6 years ago)
- Last Synced: 2024-12-10T23:38:24.860Z (about 1 month ago)
- Language: Ruby
- Size: 51.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# S3WebsiteDeploy
[![CircleCI](https://circleci.com/gh/hogelog/s3-website-deploy.svg?style=svg)](https://circleci.com/gh/hogelog/s3-website-deploy)
[![Gem Version](https://badge.fury.io/rb/s3-website-deploy.svg)](http://badge.fury.io/rb/s3-website-deploy)s3-website-deploy is deploy tool for AWS S3 Website.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 's3-website-deploy'
```## Usage
```console
$ bundle exec s3-website-deploy --bucket some-bucket --source build/ --region ap-northeast-1
I, [2018-05-22T00:18:01.580281 #37788] INFO -- : Start deploying build/ -> s3://some-bucket/
I, [2018-05-22T00:18:02.841962 #37788] INFO -- : Creating: favicon.ico
I, [2018-05-22T00:18:02.842058 #37788] INFO -- : Creating: index.html
I, [2018-05-22T00:18:02.842105 #37788] INFO -- : Finish deploying build/ -> s3://some-bucket/
```https://github.com/hogelog/s3-website-deploy/blob/master/spec/dummy/deploy.yml is example of deploy config.
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/hogelog/s3-website-deploy.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).