Modified ci config to take advantage of non-copied hidden unix files
This commit is contained in:
parent
2333f6a5de
commit
4b35504be5
@ -28,11 +28,8 @@ Apache Production:
|
||||
- "[ -d /var/www/html/build-tmp.enpaul ] && rm -r /var/www/html/build-tmp.enpaul"
|
||||
- mkdir /var/www/html/build-tmp.enpaul
|
||||
- cp -r ./* /var/www/html/build-tmp.enpaul/
|
||||
- rm /var/www/html/build-tmp.enpaul/.ci-release.ps1
|
||||
- rm /var/www/html/build-tmp.enpaul/.ci-dev.ps1
|
||||
- rm /var/www/html/build-tmp.enpaul/web.config
|
||||
- rm /var/www/html/build-tmp.enpaul/.gitlab-ci.yml
|
||||
- rm -r /var/www/html/build-tmp.enpaul/.git
|
||||
- "[ -d /var/www/html/enpaul ] && mv /var/www/html/enpaul /var/www/html/enpaul.old"
|
||||
- mv /var/www/html/build-tmp.enpaul /var/www/html/enpaul
|
||||
- rm -r /var/www/html/enpaul.old
|
||||
@ -47,11 +44,7 @@ Apache Development:
|
||||
- "[ -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
|
||||
|
Loading…
Reference in New Issue
Block a user