#!/bin/sh set -e rsync -rlDog --chown $USER:$GROUPNAME --delete --exclude=/storage /src/ /var/www/html install -d -m 0755 -o $USER -g $GROUPNAME \ storage \ storage/framework \ storage/framework/cache \ storage/framework/sessions \ storage/framework/views \ storage/app \ storage/app/private \ storage/logs php artisan migrate --force exec "php-fpm"