diff --git a/.drone.yml b/.drone.yml index 7ab1777e0..a47a6885b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,3 +3,4 @@ pipeline: image: nextcloudci/documentation:documentation-5 commands: - make all +branches: [ master, stable* ] diff --git a/Makefile b/Makefile index 66107bc6a..f98f77988 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ developer-manual-pdf: @echo "Developer manual build finished; PDF is updated" api-docs: clean-api-docs - cd build && sh get-server-sources.sh stable13 + cd build && sh get-server-sources.sh master mkdir -p developer_manual/api/ cd build && composer install && composer update cd build && php generateApiDoc.php diff --git a/build/composer.json b/build/composer.json index c051dae66..ad3512ffb 100644 --- a/build/composer.json +++ b/build/composer.json @@ -2,12 +2,16 @@ "minimum-stability": "dev", "repositories": [ { - "type": "vcs", - "url": "https://github.com/juliushaertl/reflection.git" + "type": "github", + "url": "https://github.com/juliushaertl/reflection", + "no-api": true } ], "require": { "juliushaertl/phpdoc-to-rst": "dev-php7.0", "phpdocumentor/reflection": "dev-php7.0" + }, + "config": { + "github-protocols": ["https"] } }