fixing test and deploy script
This commit is contained in:
@@ -142,6 +142,7 @@ jobs:
|
||||
rsync -az --delete \
|
||||
-e "sshpass -e ssh -p ${DEPLOY_PORT:-22}" \
|
||||
--exclude='.env' \
|
||||
--exclude='storage/' \
|
||||
--exclude='storage/logs/*' \
|
||||
--exclude='storage/framework/cache/*' \
|
||||
--exclude='storage/framework/sessions/*' \
|
||||
@@ -184,7 +185,7 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sshpass -e ssh -p "${DEPLOY_PORT:-22}" "${DEPLOY_USER}@${DEPLOY_HOST}" "cd ${DEPLOY_PATH} && php artisan optimize:clear && php artisan config:cache && php artisan route:cache && php artisan view:cache"
|
||||
sshpass -e ssh -p "${DEPLOY_PORT:-22}" "${DEPLOY_USER}@${DEPLOY_HOST}" "cd ${DEPLOY_PATH} && mkdir -p storage/framework/cache/data storage/framework/sessions storage/framework/views storage/logs bootstrap/cache && chmod -R ug+rw storage bootstrap/cache && php artisan optimize:clear && php artisan config:cache && php artisan route:cache && php artisan view:cache"
|
||||
|
||||
# Required repository secrets:
|
||||
# - DEPLOY_HOST: Server hostname or IP.
|
||||
|
||||
Reference in New Issue
Block a user