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 # frozen_string_literal: true
source 'https://rubygems.org' source 'https://rubygems.org'
gem 'nanoc', '~>4.3.3' # gem 'nanoc', '~>4.3.3'
gem 'nanoc', path: '/Users/don/Projects/nanoc'
gem 'kramdown' gem 'kramdown'
gem 'coffee-script' gem 'coffee-script'
# Needed for relativize_urls # 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 GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
@ -45,10 +53,6 @@ GEM
lumberjack (1.0.10) lumberjack (1.0.10)
method_source (0.8.2) method_source (0.8.2)
mini_portile2 (2.1.0) mini_portile2 (2.1.0)
nanoc (4.3.4)
cri (~> 2.3)
hamster (~> 3.0)
ref (~> 2.0)
nenv (0.3.0) nenv (0.3.0)
nokogiri (1.6.8) nokogiri (1.6.8)
mini_portile2 (~> 2.1.0) mini_portile2 (~> 2.1.0)
@ -87,7 +91,7 @@ DEPENDENCIES
highline highline
icalendar icalendar
kramdown kramdown
nanoc (~> 4.3.3) nanoc!
nokogiri nokogiri
sass sass
w3c_validators w3c_validators

2
Rules
View file

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

View file

@ -3,7 +3,7 @@ title: Zeus WPI
author_name: '' author_name: ''
author_uri: '' 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"` # 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 # (default) or `"legacy"`. The former will enable glob patterns, which behave
@ -99,5 +99,5 @@ checks:
deploy: deploy:
public: public:
kind: rsync 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'] options: [ '-glpPrtvz', '-e', 'ssh -p 2222', '--delete']