Skip to content

Instantly share code, notes, and snippets.

@nfrankel
Created April 11, 2016 20:08
Show Gist options
  • Save nfrankel/629574286bfdfdacffd449b609fc0782 to your computer and use it in GitHub Desktop.
Save nfrankel/629574286bfdfdacffd449b609fc0782 to your computer and use it in GitHub Desktop.
image: ruby:2.1 # the script will run in Ruby 2.1 using the Docker image ruby:2.1
pages: # the build job must be named pages
script:
- gem install jekyll # we install jekyll
- gem install jekyll-asciidoc
- jekyll build -d public/ # we tell jekyll to build the site for us
artifacts:
paths:
- public # this is where the site will live and the Runner uploads it in GitLab
only:
- master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment