Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/android-library.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÁlvaro Brey <alvaro.brey@nextcloud.com>2022-10-19 11:57:38 +0300
committerGitHub <noreply@github.com>2022-10-19 11:57:38 +0300
commitca986968fb7ce231a7ac994eda09f01f25c1b8bf (patch)
tree660b6ac2d147f36297ba690fcb0d67166e878c1f
parent0c3c874f71c033cb4804ee6e7711642351d290cf (diff)
parentf50fddf2e97247b48794e1990b3ec2d76b89f9b0 (diff)
Merge pull request #975 from nextcloud/fixExternal
external app needs composer
-rw-r--r--.drone.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index c18be659..92205943 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -59,6 +59,7 @@ services:
- name: server-master
image: ghcr.io/nextcloud/continuous-integration-server:latest
commands:
+ - apt-get update && apt-get install -y composer
- /usr/local/bin/initnc.sh
- su www-data -c "php /var/www/html/occ log:manage --level warning"
- su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1"
@@ -79,6 +80,7 @@ services:
- su www-data -c "git clone -b master https://github.com/nextcloud/password_policy/ /var/www/html/apps/password_policy/"
- su www-data -c "php /var/www/html/occ app:enable password_policy"
- su www-data -c "git clone -b master https://github.com/nextcloud/external/ /var/www/html/apps/external/"
+ - su www-data -c "cd /var/www/html/apps/external; composer install --no-dev"
- su www-data -c "php /var/www/html/occ app:enable external"
- 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 -b master https://github.com/nextcloud/files_lock.git /var/www/html/apps/files_lock/"