Skip to content
Browse files

Updated deployment.

  • Loading branch information...
1 parent 9600a05 commit c4d4421d562a3c3488c88ae228b8401002885e0c @wayneeseguin wayneeseguin committed
Showing with 25 additions and 35 deletions.
  1. +3 −10 .gems
  2. +0 −7 bdsm-site.gems
  3. +0 −18 config/deploy/after_deploy
  4. 0 config/deploy/before_deploy
  5. +22 −0 config/deploy/before_release
View
13 .gems
@@ -1,10 +1,3 @@
-# .gems generated gem export file. Note that any env variable settings will be missing. Append these after using a ';' field separator
-chunky_png -v1.2.0
-compass -v0.11.5
-cri -v1.0.1
-fssm -v0.2.7
-haml -v3.1.2
-mime-types -v1.16
-nanoc3 -v3.1.9
-rack -v1.2.1
-sass -v3.1.4
+compass
+haml
+nanoc3
View
7 bdsm-site.gems
@@ -1,7 +0,0 @@
-# rvm-site.gems generated gem export file. Note that any env variable settings will be missing. Append these after using a ';' field separator
-compass -v0.10.5
-cri -v1.0.1
-haml -v3.0.18
-mime-types -v1.16
-nanoc3 -v3.1.5
-rack -v1.2.1
View
18 config/deploy/after_deploy
@@ -1,18 +0,0 @@
-#!/usr/bin/env bash
-
-source $HOME/.rvm/scripts/rvm
-
-cd $HOME/current/
-
-if [[ bdsm-site.gems ]] ; then
- rvm gemset import bdsm-site.gems
-fi
-
-nanoc3 co --verbose
-
-rsync -avgz content/assets/images/ public/images/
-
-if [[ -d content/assets/pdf ]] ; then
- rsync -avgz content/assets/pdf/ public/pdf/
-fi
-
View
0 config/deploy/before_deploy
No changes.
View
22 config/deploy/before_release
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+source "$HOME/.rvm/environments/default"
+
+cd "$HOME/current/"
+
+if [[ .gems ]] ; then
+ rvm gemset import .gems
+fi
+
+nanoc3 co --verbose
+
+declare _path
+
+if [[ -d "content/assets/images" ]]
+then rsync -avgz content/assets/images/ public/images/
+fi
+
+if [[ -d content/assets/pdf ]]
+then rsync -avgz content/assets/pdf/ public/pdf/
+fi
+

0 comments on commit c4d4421

Please sign in to comment.
Something went wrong with that request. Please try again.