Skip to content

Commit

Permalink
deploy-dokku-back.sh: fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
pahaz authored Feb 12, 2019
1 parent 0a50654 commit 8872bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/deploy-dokku-back.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ ssh dokku@${SSH_HOST} -C run ${SERVICE_NAME} python manage.py migrate
if ${FIX_MEDIA_ROOT_PERMISSIONS}; then
echo "!!! ===> Fix MEDIA_ROOT permissions <=== !!!"
MEDIA_ROOT=/DATA/${SERVICE_NAME}
ssh ${SSH_HOST} -C docker exec ${SERVICE_NAME}.web.1 chown -R unprivileged:unprivileged ${MEDIA_ROOT}
ssh ${SSH_HOST} "docker exec ${SERVICE_NAME}.web.1 chown -R unprivileged:unprivileged ${MEDIA_ROOT}"
fi

echo "!!! ===> http://${SERVICE_HOST}/ <=== !!!"

0 comments on commit 8872bd7

Please sign in to comment.