Fixed bad tabing in ci config
This commit is contained in:
parent
136560abfa
commit
2333f6a5de
@ -41,21 +41,21 @@ Apache Production:
|
||||
tags:
|
||||
- release-apache
|
||||
|
||||
Apache Development:
|
||||
stage: deploy-dev-apache
|
||||
script:
|
||||
- "[ -d /var/www/html/build-tmp.enpaul-dev ] && rm -r /var/www/html/build-tmp.enpaul-dev"
|
||||
- mkdir /var/www/html/build-tmp.enpaul-dev
|
||||
- cp -r ./* /var/www/html/build-tmp.enpaul-dev/
|
||||
- rm /var/www/html/build-tmp.enpaul-dev/.ci-release.ps1
|
||||
- rm /var/www/html/build-tmp.enpaul-dev/.ci-dev.ps1
|
||||
- rm /var/www/html/build-tmp.enpaul-dev/web.config
|
||||
- rm /var/www/html/build-tmp.enpaul-dev/.gitlab-ci.yml
|
||||
- rm -r /var/www/html/build-tmp.enpaul-dev/.git
|
||||
- "[ -d /var/www/html/enpaul-dev ] && mv /var/www/html/enpaul-dev /var/www/html/enpaul-dev.old"
|
||||
- mv /var/www/html/build-tmp.enpaul-dev /var/www/html/enpaul-dev
|
||||
- rm -r /var/www/html/enpaul-dev.old
|
||||
only:
|
||||
- development
|
||||
tags:
|
||||
- dev-apache
|
||||
Apache Development:
|
||||
stage: deploy-dev-apache
|
||||
script:
|
||||
- "[ -d /var/www/html/build-tmp.enpaul-dev ] && rm -r /var/www/html/build-tmp.enpaul-dev"
|
||||
- mkdir /var/www/html/build-tmp.enpaul-dev
|
||||
- cp -r ./* /var/www/html/build-tmp.enpaul-dev/
|
||||
- rm /var/www/html/build-tmp.enpaul-dev/.ci-release.ps1
|
||||
- rm /var/www/html/build-tmp.enpaul-dev/.ci-dev.ps1
|
||||
- rm /var/www/html/build-tmp.enpaul-dev/web.config
|
||||
- rm /var/www/html/build-tmp.enpaul-dev/.gitlab-ci.yml
|
||||
- rm -r /var/www/html/build-tmp.enpaul-dev/.git
|
||||
- "[ -d /var/www/html/enpaul-dev ] && mv /var/www/html/enpaul-dev /var/www/html/enpaul-dev.old"
|
||||
- mv /var/www/html/build-tmp.enpaul-dev /var/www/html/enpaul-dev
|
||||
- rm -r /var/www/html/enpaul-dev.old
|
||||
only:
|
||||
- development
|
||||
tags:
|
||||
- dev-apache
|
||||
|
Loading…
Reference in New Issue
Block a user