service-nextcloud/postdeploy.sh
Glenn Y. Rolland 7381845b87
All checks were successful
continuous-integration/drone/push Build is passing
deploy: Use postdeploy script
2023-02-26 01:08:17 +01:00

14 lines
270 B
Bash
Executable file

#!/bin/sh
set -u
set -e
cd /var/www/html
echo "GYR:POSTDEPLOY:START ($(pwd))"
find . -maxdepth 1
php -d memory_limit=-1 occ upgrade
php -d memory_limit=-1 occ db:convert-filecache-bigint
php -d memory_limit=-1 occ db:add-missing-indices
echo "GYR:POSTDEPLOY:END"