Fixed deployment to production.

This commit is contained in:
Manuel Friedli 2017-03-15 02:47:27 +01:00
parent 5ed89f16fe
commit 39924c8a37
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ production:
script:
- 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
- cp dist/* "${WWW_DEPLOY_ROOT_PRODUCTION}"
- cp -r dist/* "${WWW_DEPLOY_ROOT_PRODUCTION}"
cleanup_job:
stage: cleanup