37 lines
No EOL
862 B
YAML
37 lines
No EOL
862 B
YAML
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:
|
|
branch: master
|
|
local_dir: _site |