From 1658e6833968d96b6452c4208b70f888fce2cc15 Mon Sep 17 00:00:00 2001 From: strNophix Date: Mon, 3 Oct 2022 20:55:18 +0200 Subject: [PATCH] Moved webhook example to dedicated folder --- .qbit-ci.yaml => examples/webhook.qbit-ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename .qbit-ci.yaml => examples/webhook.qbit-ci.yaml (53%) diff --git a/.qbit-ci.yaml b/examples/webhook.qbit-ci.yaml similarity index 53% rename from .qbit-ci.yaml rename to examples/webhook.qbit-ci.yaml index 63eef24..66c2185 100644 --- a/.qbit-ci.yaml +++ b/examples/webhook.qbit-ci.yaml @@ -8,7 +8,7 @@ steps: curl -H "Content-Type: application/json" -d '{"username": "cute anime girl", "content": "{{ torrent.name }} complete"}' - https://discord.com/api/webhooks/1026143262668488895/IxsxPMIu-02sFMMUzakPeQwEqKRIJOzct27oOnXB2DrpDBwBAmbjSo9jklN-UsOUn-GH + when: - - '{{ changes.completion_on not in [None, -1] }}' - - '{{ torrent.state == "uploading" }}' + - '{{ changes.state == "uploading" }}' + - '{{ torrent.category == "" }}'