fixed CD.
This commit is contained in:
parent
65c113913f
commit
c7dc93e092
1 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,10 @@ if [ "develop" == "${ENVIRON}" ] ; then
|
|||
echo "Deploying ${CI_BUILD_REF_NAME} to develop. You can access it at .../${CI_BUILD_REF_NAME}"
|
||||
target="${WWW_DEPLOY_ROOT_DEVELOP}/${CI_BUILD_REF_NAME}"
|
||||
mkdir -p "${target}"
|
||||
cp -a index.html manifest.appcache info resources dist/*.min.* "${target}"
|
||||
rm -rf "${target}/*"
|
||||
mkdir "${target}/dist"
|
||||
cp -a index.html manifest.appcache info resources "${target}"
|
||||
cp -a dist/*.min.* "${target}/dist"
|
||||
else
|
||||
echo "Automatic deployment to ${ENVIRON} is not yet implemented."
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue