Modification to apache dest dir for hosting
This commit is contained in:
parent
95efcfdc85
commit
6799f7d168
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user