diff --git a/.drone.yml b/.drone.yml index a1c6e48..8b17aa1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,6 +14,20 @@ steps: - cmake .. - make +- name: gitea_prerelease + image: plugins/gitea-release + settings: + prerelease: true + api_key: + from_secret: gitea_token + base_url: https://git.serguzim.me + files: + - build/controller + - build/controller.ini + when: + branch: testing + event: tag + - name: gitea_release image: plugins/gitea-release settings: @@ -24,4 +38,5 @@ steps: - build/controller - build/controller.ini when: + branch: master event: tag