wisski-cloud-distillery/distillery/utils/blind_update.sh
Tom Wiesing 70cdf7c602
Add utility scripts
This commit adds a new utility script and makes sure that it is mounted
inside the containers.
2020-10-08 14:59:22 +02:00

13 lines
No EOL
309 B
Bash

#!/bin/bash
# This utility script can be used to blindly update all dependencies to their latest versions.
# It does not perform any checking whatsoever.
cd /var/www/data/project || exit 1
# composer install updates
chmod u+rw web/sites/default/
composer update
# update the dabatabase
drush -y updatedb