diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..afc84e4 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,29 @@ +--- +kind: pipeline +name: mirror repositories +steps: + - name: mirror recipes to github + image: decentral1se/abra + commands: + - /root/.local/bin/github-sync.py + environment: + GITHUB_ACCESS_TOKEN: + from_secret: coop_cloud_github_sync + + - name: notify on failure + image: plugins/matrix + settings: + homeserver: https://matrix.autonomic.zone + roomid: "IFazIpLtxiScqbHqoa:autonomic.zone" + userid: "@autono-bot:autonomic.zone" + accesstoken: + from_secret: autono_bot_access_token + depends_on: + - publish new json + - deployment + when: + status: + - failure +trigger: + branch: + - main