From 36f1386324de41230bdabea99c887cdb6b461743 Mon Sep 17 00:00:00 2001
From: Ninassi Benjamin <benjamin.ninassi@inria.fr>
Date: Wed, 12 Sep 2018 12:02:01 +0200
Subject: [PATCH] .

---
 deploy.sh | 70 -------------------------------------------------------
 1 file changed, 70 deletions(-)
 delete mode 100644 deploy.sh

diff --git a/deploy.sh b/deploy.sh
deleted file mode 100644
index b75cb85..0000000
--- a/deploy.sh
+++ /dev/null
@@ -1,70 +0,0 @@
-if [ "$HOSTNAME" == 'qlf-medsci' ] ; then
-  if [ "$1" == 'qualif' ] 
-  then
-    if [ "$2" == 'pixees-theme' ]
-    then
-      echo "Deployment of pixees-theme on qualif"
-      cd /appli/www/pixees/wp-content/themes/pixees-theme
-      git pull
-    elif [ "$2" == 'classcodev1' ]      
-    then
-      echo "Deployment of class_code plugin on qualif"
-      cd /appli/www/pixees/wp-content/plugins/class_code
-      git pull
-    elif [ "$2" == 'classcodev2' ]
-    then
-      echo "Deployment of class_code_v2 plugin on qualif"
-      cd /appli/www/pixees/wp-content/plugins/class_code_v2
-      git pull
-    elif [ "$2" == 'all' ]    
-    then
-      echo "Deployment of pixees-theme on qualif"
-      cd /appli/www/pixees/wp-content/themes/pixees-theme
-      git pull
-      echo "Deployment of class_code plugin on qualif"
-      cd /appli/www/pixees/wp-content/plugins/class_code
-      git pull
-      echo "Deployment of class_code_v2 plugin on qualif"
-      cd /appli/www/pixees/wp-content/plugins/class_code_v2
-      git pull
-    fi
-  elif [ "$1" == 'prod' ] 
-  then
-    echo "Nothing to do on qualif, deployment on prod asked"
-  fi
-fi
-if [ "$HOSTNAME" == 'medsci' ] ; then
-  if [ "$1" == 'prod' ] 
-  then
-    if [ "$2" == 'pixees-theme' ]
-    then
-      echo "Deployment of pixees-theme on prod"
-      cd /appli/www/pixees/wp-content/themes/pixees-theme
-      git pull
-    elif [ "$2" == 'classcodev1' ]
-    then
-      echo "Deployment of class_code plugin on prod"
-      cd /appli/www/pixees/wp-content/plugins/class_code
-      git pull
-    elif [ "$2" == 'classcodev2' ]
-    then
-      echo "Deployment of class_code_v2 plugin on prod"
-      cd /appli/www/pixees/wp-content/plugins/class_code_v2
-      git pull
-    elif [ "$2" == 'all' ]    
-    then
-      echo "Deployment of pixees-theme on prod"
-      cd /appli/www/pixees/wp-content/themes/pixees-theme
-      git pull
-      echo "Deployment of class_code plugin on prod"
-      cd /appli/www/pixees/wp-content/plugins/class_code
-      git pull
-      echo "Deployment of class_code_v2 plugin on prod"
-      cd /appli/www/pixees/wp-content/plugins/class_code_v2
-      git pull
-    fi
-  elif [ "$1" == 'qualif' ] 
-  then
-    echo "Nothing to do on prod, deployment on qualif asked"
-  fi
-fi
-- 
GitLab