diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..b27712c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,37 @@ +--- +kind: pipeline +type: docker +name: default + +steps: + - name: dependencies + image: deblan/devenv + commands: + - npm install + when: + branch: + - master + - develop + + - name: build + image: deblan/devenv + volumes: + - name: artefacts + path: /artefacts + environment: + APP_CERTIFICATE: + from_secret: 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="/artefacts/deblan/side_menu" + - make release + when: + branch: + - master + +volumes: + - name: artefacts + host: + path: /var/www/html/_artefacts diff --git a/.metroline.yml b/.metroline.yml index 8f00b6b..1461fe8 100644 --- a/.metroline.yml +++ b/.metroline.yml @@ -2,6 +2,10 @@ version: '1' image: deblan/devenv jobs: build: + when: + branch: + - master + - feat/.* script: - npm install - npm run build diff --git a/README.md b/README.md index a1af4d9..2e359f4 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ You can customize colors depending of the theme (Dark theme and Breeze Dark). Co * [Installation and upgrade](#installation-and-upgrade) * [How to contribute?](#how-to-contribute) +* [Support](#support) * [Screenshots](https://gitnet.fr/deblan/side_menu/src/branch/master/screenshots/) 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) @@ -58,3 +59,8 @@ If you are a developer: Build javascripts using `make npm-build` (or `make npm-watch` to build them in real time). Then commit and create a pull request. + +Support +------- + +You can join the official room on Matrix: [#custommenu:neutralnetwork.org](https://matrix.to/#/#custommenu:neutralnetwork.org).