From 4b648b40a1e3bb8b45152edaa8383787e89be04e Mon Sep 17 00:00:00 2001 From: fedy95 Date: Sun, 11 Apr 2021 06:40:26 +0300 Subject: [PATCH] update-deploy --- .drone.yml | 4 ++++ .editorconfig | 10 ++++++++++ LICENSE | 19 +++++++++++++++++++ Makefile | 4 ++++ README.md | 5 +++-- 5 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 .editorconfig create mode 100644 LICENSE diff --git a/.drone.yml b/.drone.yml index 161229b..cc60bb9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,6 +35,10 @@ steps: - cd /mnt/md0/infra/keeweb - git pull - make restart + - name: cleanup + commands: + - cd /mnt/md0/infra/homeassistant + - make cleanup trigger: branch: diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..73069d4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true +insert_final_newline = true +max_line_length = 100 diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b195b12 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +MIT License Copyright (c) 2021 fedy95 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice (including the next +paragraph) shall be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS +OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Makefile b/Makefile index 518ac6c..ea0ba04 100644 --- a/Makefile +++ b/Makefile @@ -15,4 +15,8 @@ restart: docker-compose -f docker-compose.yml down docker-compose -f docker-compose.yml up -d +cleanup: + docker system prune --all --force + docker system prune --volumes --force + .DEFAULT_GOAL := lint diff --git a/README.md b/README.md index 2e34ac7..cc39553 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ -### keeweb -[![Build Status](https://drone.fedy95.com/api/badges/infra/keeweb/status.svg)](https://drone.fedy95.com/infra/keeweb) +### keeweb [![Build Status](https://drone.fedy95.com/api/badges/infra/keeweb/status.svg)](https://drone.fedy95.com/infra/keeweb) + +--- ### services - [keeweb](https://github.com/keeweb/keeweb)