Skip to content

Instantly share code, notes, and snippets.

@amscotti
Created October 15, 2016 01:05
Show Gist options
  • Save amscotti/07105c924a79927229ff7b0efab685ad to your computer and use it in GitHub Desktop.
Save amscotti/07105c924a79927229ff7b0efab685ad to your computer and use it in GitHub Desktop.
# This is a sample build configuration for Ruby.
# Check our guides at https://confluence.atlassian.com/x/VYk8Lw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: ruby:2.1.7
pipelines:
default:
- step:
script:
- bundler --version
- bundle install
- bundle exec jekyll build
branches:
master:
- step:
script:
- bundler --version
- bundle install
- bundle exec jekyll build
- apt-get update
- apt-get install --assume-yes openjdk-7-jre-headless
- bundle exec s3_website push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment