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