From af48e56698c680365a4a2757483e44c283041bfc Mon Sep 17 00:00:00 2001 From: Lorin Werthen Date: Wed, 20 Jul 2016 19:50:54 +0200 Subject: [PATCH] checks --- .travis.yml | 6 +----- Checks | 8 ++++++++ content/search.erb | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 Checks 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 @@
-
+