Fixed deployment to production.
This commit is contained in:
parent
277b34ab58
commit
38ff12070e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue