From 6799f7d16852d10738f477a096544cbcbb29c69d Mon Sep 17 00:00:00 2001 From: "Ethan N. Paul" Date: Thu, 21 Dec 2017 17:34:21 -0500 Subject: [PATCH] Modification to apache dest dir for hosting --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ab0dfe..fdf73ff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ stages: - - deploy-apache - deploy-iis + - deploy-apache IIS Deployment: stage: deploy-iis @@ -12,13 +12,13 @@ IIS Deployment: Apache Deployment: stage: deploy-apache script: - - mkdir /var/www/enpaul.new + - mkdir /var/www/html/enpaul.new - rm ./deploy.ps1 - rm ./web.config - rm -r ./_archive - - cp ./* /var/www/enpaul.new/ - - mv -r /var/www/enpaul /var/www/enpaul.old - - mv -r /var/www/enpaul.new /var/www/enpaul - - rm -r /var/www/enpaul.old + - cp ./* /var/www/html/enpaul.new/ + - mv -r /var/www/html/enpaul /var/www/html/enpaul.old + - mv -r /var/www/html/enpaul.new /var/www/html/enpaul + - rm -r /var/www/html/enpaul.old tags: - apache