Modification to apache dest dir for hosting

This commit is contained in:
Ethan N. Paul 2017-12-21 17:34:21 -05:00
parent 95efcfdc85
commit 6799f7d168

View File

@ -1,6 +1,6 @@
stages: stages:
- deploy-apache
- deploy-iis - deploy-iis
- deploy-apache
IIS Deployment: IIS Deployment:
stage: deploy-iis stage: deploy-iis
@ -12,13 +12,13 @@ IIS Deployment:
Apache Deployment: Apache Deployment:
stage: deploy-apache stage: deploy-apache
script: script:
- mkdir /var/www/enpaul.new - mkdir /var/www/html/enpaul.new
- rm ./deploy.ps1 - rm ./deploy.ps1
- rm ./web.config - rm ./web.config
- rm -r ./_archive - rm -r ./_archive
- cp ./* /var/www/enpaul.new/ - cp ./* /var/www/html/enpaul.new/
- mv -r /var/www/enpaul /var/www/enpaul.old - mv -r /var/www/html/enpaul /var/www/html/enpaul.old
- mv -r /var/www/enpaul.new /var/www/enpaul - mv -r /var/www/html/enpaul.new /var/www/html/enpaul
- rm -r /var/www/enpaul.old - rm -r /var/www/html/enpaul.old
tags: tags:
- apache - apache