Skip to content

Instantly share code, notes, and snippets.

@jcypret
Created April 12, 2014 00:35
Show Gist options
  • Save jcypret/10512005 to your computer and use it in GitHub Desktop.
Save jcypret/10512005 to your computer and use it in GitHub Desktop.
Wercker Middleman
box: wercker/ruby
build:
steps:
# Execute the bundle install step, a step provided by wercker
- bundle-install
# Execute a custom script step.
- script:
name: middleman build
code: bundle exec middleman build --verbose
deploy:
steps:
# Execute the s3sync deploy step, a step provided by wercker
- s3sync:
key-id: $AWS_ACCESS_KEY_ID
key-secret: $AWS_SECRET_ACCESS_KEY
bucket-url: $AWS_BUCKET_URL
source-dir: build/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment