From 88d2cb48913f41cf959c2d6c57a2049100356d8c Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Wed, 8 Feb 2023 13:46:23 +0100 Subject: [PATCH] fix sending test notification Signed-off-by: tobiasKaminsky --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index e382566037..47f4140da8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -184,6 +184,7 @@ services: - su www-data -c 'php /var/www/html/occ config:app:set external sites --value="{\"1\":{\"id\":1,\"name\":\"Nextcloud\",\"url\":\"https:\/\/www.nextcloud.com\",\"lang\":\"\",\"type\":\"link\",\"device\":\"\",\"icon\":\"external.svg\",\"groups\":[],\"redirect\":false},\"2\":{\"id\":2,\"name\":\"Forum\",\"url\":\"https:\/\/help.nextcloud.com\",\"lang\":\"\",\"type\":\"link\",\"device\":\"\",\"icon\":\"external.svg\",\"groups\":[],\"redirect\":false}}"' - su www-data -c "git clone https://github.com/nextcloud/files_lock.git /var/www/html/apps/files_lock/" - su www-data -c "php /var/www/html/occ app:enable files_lock" + - su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/notifications.git /var/www/html/apps/notifications/" - su www-data -c "php /var/www/html/occ app:enable notifications" - su www-data -c "php /var/www/html/occ notification:generate 'test' 'test message'" - /usr/local/bin/run.sh