Fixed deployment to production.
This commit is contained in:
parent
5ed89f16fe
commit
39924c8a37
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ production:
|
||||||
script:
|
script:
|
||||||
- if [[ -z "${WWW_DEPLOY_ROOT_PRODUCTION}" ]] ; then echo "WWW_DEPLOY_ROOT_PRODUCTION is not set" ; exit 1 ; fi
|
- if [[ -z "${WWW_DEPLOY_ROOT_PRODUCTION}" ]] ; then echo "WWW_DEPLOY_ROOT_PRODUCTION is not set" ; exit 1 ; fi
|
||||||
- if [[ ! -d "${WWW_DEPLOY_ROOT_PRODUCTION}" ]] ; then mkdir -p "${WWW_DEPLOY_ROOT_PRODUCTION}" || die "Failed to create target directory for deployment!" ; fi
|
- if [[ ! -d "${WWW_DEPLOY_ROOT_PRODUCTION}" ]] ; then mkdir -p "${WWW_DEPLOY_ROOT_PRODUCTION}" || die "Failed to create target directory for deployment!" ; fi
|
||||||
- cp dist/* "${WWW_DEPLOY_ROOT_PRODUCTION}"
|
- cp -r dist/* "${WWW_DEPLOY_ROOT_PRODUCTION}"
|
||||||
|
|
||||||
cleanup_job:
|
cleanup_job:
|
||||||
stage: cleanup
|
stage: cleanup
|
||||||
|
|
Loading…
Reference in a new issue