diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..505111b --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,35 @@ +pipeline: + dependencies: + image: deblan/devenv + commands: + - npm install + + when: + branch: [master, develop, feature/*] + event: + - push + - pull_request + + build: + image: deblan/devenv + commands: + - make npm-build + when: + branch: [master, develop, feature/*] + event: + - push + - pull_request + + release: + image: deblan/devenv + volumes: + - /var/www/html/artifacts:/var/www/html/artifacts + secrets: [app_certificate] + commands: + - mkdir -p "$HOME/.nextcloud/certificates" + - echo "$APP_CERTIFICATE" > "$HOME/.nextcloud/certificates/side_menu.key" + - export VERSION=$(grep "" appinfo/info.xml | grep -o "[0-9]*\.[0-9]*\.[0-9]*" --color=never) + - export RELEASE_DIRECTORY="/var/www/html/artifacts/deblan/side_menu" + - make release + when: + branch: [master] diff --git a/README.md b/README.md index 35a2d51..92f05f7 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You can customize colors depending of the theme (Dark theme and Breeze Dark). Co You like this app and you want to support me? ☕ [Buy me a coffee](https://www.buymeacoffee.com/deblan) or [Donate with liberapay](https://liberapay.com/deblan) -[![Build Status](https://ci2.gitnet.fr/api/badges/deblan/side_menu/status.svg)](https://ci2.gitnet.fr/deblan/side_menu) +[![Build Status](https://ci.gitnet.fr/api/badges/deblan/side_menu/status.svg)](https://ci.gitnet.fr/deblan/side_menu) Requirements ------------ diff --git a/appinfo/info.xml b/appinfo/info.xml index 44530b3..fd6f980 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -17,7 +17,7 @@ You can report a bug or request a feature by opening an issue. Requirements: -* PHP >= 7.3 +* PHP >= 7.4 * App `theming` enabled If you like this application and if you want to support the development: diff --git a/templates/settings/admin-form.php b/templates/settings/admin-form.php index ba7cf77..59a5143 100644 --- a/templates/settings/admin-form.php +++ b/templates/settings/admin-form.php @@ -880,7 +880,7 @@ $choicesSizes = [ 🖱️ t('Show and hide the list of applications')); ?> --to +