From 0ccfe01abba5ff962b596254eb1dd45a4cc69885 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Thu, 15 Jun 2017 21:46:36 -0500 Subject: [PATCH] switch gitter to discord for drone. (#62) * switch gitter to discord for drone. Signed-off-by: Bo-Yi Wu * add changed status Signed-off-by: Bo-Yi Wu --- .drone.yml | 9 +++++++-- .drone.yml.sig | 2 +- .editorconfig | 6 +++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index afaaa1f..97d1633 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,5 +17,10 @@ pipeline: image: plugins/coverage server: https://coverage.gitea.io - gitter: - image: plugins/gitter + discord: + image: appleboy/drone-discord + webhook_id: ${WEBHOOK_ID} + webhook_token: ${WEBHOOK_TOKEN} + when: + event: [ push, tag, pull_request ] + status: [ changed, failure ] diff --git a/.drone.yml.sig b/.drone.yml.sig index 0715e35..c0e8dd0 100644 --- a/.drone.yml.sig +++ b/.drone.yml.sig @@ -1 +1 @@ -eyJhbGciOiJIUzI1NiJ9.d29ya3NwYWNlOgogIGJhc2U6IC9zcnYvYXBwCiAgcGF0aDogc3JjL2NvZGUuZ2l0ZWEuaW8vc2RrCgpwaXBlbGluZToKICB0ZXN0aW5nOgogICAgaW1hZ2U6IHdlYmhpcHBpZS9nb2xhbmc6bGF0ZXN0CiAgICBwdWxsOiB0cnVlCiAgICBjb21tYW5kczoKICAgICAgLSBtYWtlIGNsZWFuCiAgICAgIC0gbWFrZSB2ZXQKICAgICAgLSBtYWtlIGxpbnQKICAgICAgLSBtYWtlIHRlc3QKICAgICAgLSBtYWtlIGJ1aWxkCgogIGNvdmVyYWdlOgogICAgaW1hZ2U6IHBsdWdpbnMvY292ZXJhZ2UKICAgIHNlcnZlcjogaHR0cHM6Ly9jb3ZlcmFnZS5naXRlYS5pbwoKICBnaXR0ZXI6CiAgICBpbWFnZTogcGx1Z2lucy9naXR0ZXIK.HIbwP8NEFAdT6Nfjgw2OCVpvO3cE_YTxA-Xwxwevd2A \ No newline at end of file +eyJhbGciOiJIUzI1NiJ9.d29ya3NwYWNlOgogIGJhc2U6IC9zcnYvYXBwCiAgcGF0aDogc3JjL2NvZGUuZ2l0ZWEuaW8vc2RrCgpwaXBlbGluZToKICB0ZXN0aW5nOgogICAgaW1hZ2U6IHdlYmhpcHBpZS9nb2xhbmc6bGF0ZXN0CiAgICBwdWxsOiB0cnVlCiAgICBjb21tYW5kczoKICAgICAgLSBtYWtlIGNsZWFuCiAgICAgIC0gbWFrZSB2ZXQKICAgICAgLSBtYWtlIGxpbnQKICAgICAgLSBtYWtlIHRlc3QKICAgICAgLSBtYWtlIGJ1aWxkCgogIGNvdmVyYWdlOgogICAgaW1hZ2U6IHBsdWdpbnMvY292ZXJhZ2UKICAgIHNlcnZlcjogaHR0cHM6Ly9jb3ZlcmFnZS5naXRlYS5pbwoKICBkaXNjb3JkOgogICAgaW1hZ2U6IGFwcGxlYm95L2Ryb25lLWRpc2NvcmQKICAgIHdlYmhvb2tfaWQ6ICR7V0VCSE9PS19JRH0KICAgIHdlYmhvb2tfdG9rZW46ICR7V0VCSE9PS19UT0tFTn0KICAgIHdoZW46CiAgICAgIGV2ZW50OiBbIHB1c2gsIHRhZywgcHVsbF9yZXF1ZXN0IF0KICAgICAgc3RhdHVzOiBbIGNoYW5nZWQsIGZhaWx1cmUgXQo.-M9-fmfqXZyJSXKjOzet4ggbiwZzgaCjVhRuROAvChw \ No newline at end of file diff --git a/.editorconfig b/.editorconfig index 437199c..17581ee 100644 --- a/.editorconfig +++ b/.editorconfig @@ -15,10 +15,14 @@ indent_size = 8 indent_style = tab indent_size = 4 -[*.{less,yml}] +[*.{less}] indent_style = space indent_size = 4 +[*.{yml}] +indent_style = space +indent_size = 2 + [*.js] indent_style = space indent_size = 4