Fixed invalid yaml syntax
This commit is contained in:
parent
a813c42d33
commit
136560abfa
@ -25,7 +25,7 @@ IIS Development:
|
||||
Apache Production:
|
||||
stage: deploy-release-apache
|
||||
script:
|
||||
- [ -d /var/www/html/build-tmp.enpaul ] && rm -r /var/www/html/build-tmp.enpaul
|
||||
- "[ -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
|
||||
@ -33,7 +33,7 @@ Apache Production:
|
||||
- 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
|
||||
- "[ -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
|
||||
only:
|
||||
@ -44,7 +44,7 @@ Apache Production:
|
||||
Apache Development:
|
||||
stage: deploy-dev-apache
|
||||
script:
|
||||
- [ -d /var/www/html/build-tmp.enpaul-dev ] && rm -r /var/www/html/build-tmp.enpaul-dev
|
||||
- "[ -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
|
||||
@ -52,7 +52,7 @@ Apache Production:
|
||||
- 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
|
||||
- "[ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user