2019-06-12 23:42:32 +00:00
|
|
|
language: ruby
|
|
|
|
rvm:
|
|
|
|
- 2.4.1
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- chmod +x ./script/cibuild # or do this locally and commit
|
|
|
|
|
|
|
|
# Assume bundler is being used, therefore
|
|
|
|
# the `install` step will run `bundle install` by default.
|
|
|
|
script: ./script/cibuild
|
|
|
|
|
|
|
|
# branch whitelist, only for GitHub Pages
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master # test the master branch
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libcurl4-openssl-dev
|
|
|
|
|
|
|
|
sudo: false # route your build to the container-based infrastructure for a faster build
|
|
|
|
|
|
|
|
cache: bundler # caching bundler gem packages will speed up build
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
skip_cleanup: true
|
|
|
|
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
|
|
|
|
keep_history: true
|
|
|
|
on:
|
2019-06-13 00:22:59 +00:00
|
|
|
branch: master
|
2019-06-12 23:42:32 +00:00
|
|
|
local_dir: _site
|