diff --git a/.travis.yml b/.travis.yml index ceafce8..2ae0668 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,11 +12,7 @@ before_install: - echo -e "Host zeus.ugent.be\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config script: - bundle exec nanoc -- bundle exec nanoc check elinks -- bundle exec nanoc check html -- bundle exec nanoc check ilinks -- bundle exec nanoc check mixed_content -- bundle exec nanoc check stale +- bundle exec nanoc check --deploy after_success: - mv deploy_key ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa diff --git a/Checks b/Checks new file mode 100644 index 0000000..0a52fbf --- /dev/null +++ b/Checks @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +deploy_check :elinks +deploy_check :html +deploy_check :ilinks +deploy_check :mixed_content +deploy_check :stale diff --git a/content/search.erb b/content/search.erb index 379d139..f5ab388 100644 --- a/content/search.erb +++ b/content/search.erb @@ -18,7 +18,7 @@