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 == "" }}'