Skip to content

Instantly share code, notes, and snippets.

@adrianhall
Created January 22, 2019 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrianhall/269520fe3efc9b67fdfe3bd3e1ecfcbf to your computer and use it in GitHub Desktop.
Save adrianhall/269520fe3efc9b67fdfe3bd3e1ecfcbf to your computer and use it in GitHub Desktop.
version: 0.1
frontend:
phases:
preBuild:
commands:
- bundle install
build:
commands:
- if [ "${AWS_BRANCH}" = "master" ]; then bundle exec jekyll b --baseurl /; else bundle exec jekyll b --baseurl / --future; fi
artifacts:
baseDirectory: _site
files:
- '**/*'
cache:
paths: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment