emberjs/website — pull request #481 by mharris717 (2013-05-07 20:01:40+00:00)
Title: Website versions

This PR does several things:

* Incorporates @joefiorini's PR to add S3 uploads of built docs.
* Adds ability to build docs for previous versions and upload to S3
* Adds .travis.yml file for travis builds
* Pushes latest docs to an edge S3 bucket on successful travis build.
* Adds page on emberjs.com with links to old docs.

Much of this functionality is in a gem, ```website_versions```, that is now included in website. Obviously we'll want to move this gem over to the emberjs account.

https://github.com/mharris717/website_versions.

Notes:
* Tags to show on "old docs" page are in lib/versions.rb
* Currently the .travis.yml file has my encrypted S3 creds in it, they'll need to be changed.
* Build and push old docs with ```bundle exec rake versions:deploy_version REF=v0.9.7 S3_ACCESS_KEY_ID=abc S3_SECRET_ACCESS_KEY=xyz```
* Build and push edge with ```bundle exec rake build versions:deploy_edge S3_ACCESS_KEY_ID=abc S3_SECRET_ACCESS_KEY=xyz```
* The buckets all follow the same format. http://emberdocsv097.s3-website-us-east-1.amazonaws.com for tag v0.9.7.
* I don't believe the build and s3 commands are throwing proper non-0 error codes on failure, so the travis build doesn't die when something goes wrong.

There is certainly other stuff I need to say, it's not coming to me right now.

All feedback strongly encouraged.

Mike