make really deploy ready

This commit is contained in:
Lorin Werthen 2016-10-05 23:59:33 +02:00
parent 3332c6343a
commit 8b8df383e9
4 changed files with 14 additions and 9 deletions

View file

@ -1,7 +1,8 @@
# frozen_string_literal: true
source 'https://rubygems.org'
gem 'nanoc', '~>4.3.3'
# gem 'nanoc', '~>4.3.3'
gem 'nanoc', path: '/Users/don/Projects/nanoc'
gem 'kramdown'
gem 'coffee-script'
# Needed for relativize_urls

View file

@ -1,3 +1,11 @@
PATH
remote: /Users/don/Projects/nanoc
specs:
nanoc (4.3.4)
cri (~> 2.3)
hamster (~> 3.0)
ref (~> 2.0)
GEM
remote: https://rubygems.org/
specs:
@ -45,10 +53,6 @@ GEM
lumberjack (1.0.10)
method_source (0.8.2)
mini_portile2 (2.1.0)
nanoc (4.3.4)
cri (~> 2.3)
hamster (~> 3.0)
ref (~> 2.0)
nenv (0.3.0)
nokogiri (1.6.8)
mini_portile2 (~> 2.1.0)
@ -87,7 +91,7 @@ DEPENDENCIES
highline
icalendar
kramdown
nanoc (~> 4.3.3)
nanoc!
nokogiri
sass
w3c_validators

2
Rules
View file

@ -156,7 +156,7 @@ ignore '/assets/stylesheets/includes/**/*'
compile '/assets/stylesheets/**/*.scss' do
filter :sass, syntax: :scss
filter :autoprefixer if Socket.gethostname == 'abysm'
filter :autoprefixer
end
passthrough '/assets/images/*.{png,svg}'

View file

@ -3,7 +3,7 @@ title: Zeus WPI
author_name: ''
author_uri: ''
base_url: https://zeus.ugent.be/beta
base_url: https://zeus.ugent.be
# The syntax to use for patterns in the Rules file. Can be either `"glob"`
# (default) or `"legacy"`. The former will enable glob patterns, which behave
@ -99,5 +99,5 @@ checks:
deploy:
public:
kind: rsync
dst: zeusweb-beta@zeus.ugent.be:/home/zeusweb-beta/public
dst: zeusweb-new@zeus.ugent.be:/home/zeusweb-new/public
options: [ '-glpPrtvz', '-e', 'ssh -p 2222', '--delete']