Merge branch 'master' into snapshot

This commit is contained in:
root 2017-09-21 14:00:48 +02:00
commit ae67d418bc
2 changed files with 6 additions and 5 deletions

View File

@ -27,15 +27,16 @@ config['projects'].each do |project_name, project_config|
puts 'Cloning ...'
FileUtils.mkdir_p(project_dir)
repo = Git.clone(project_config['git'], clone_target)
puts "Checkout ref '#{project_config['ref']}'"
repo.branch(project_config['ref']).checkout
else
repo = Git.open(clone_target)
repo.fetch()
puts "Checkout ref '#{project_config['ref']}'"
repo.branch(project_config['ref']).checkout
repo.pull('origin', project_config['ref'])
end
puts "Checkout ref '#{project_config['ref']}'"
repo.branch(project_config['ref']).checkout
repo.pull()
puts "Building page index from #{project_docs_dir}"
Dir.glob("#{project_docs_dir}/*.md", File::FNM_CASEFOLD).sort.each do |file|
filepath = file.gsub('projects/', '')

View File

@ -27,7 +27,7 @@ extra:
- text: 'Blog'
link: 'https://www.icinga.com/blog/'
- text: 'Download'
link: 'https://www.icinga.com/downloads/'
link: 'https://www.icinga.com/download/'
cssid: 'download-button'
social:
- type: 'facebook'