Add drone config

This commit is contained in:
decentral1se 2021-06-05 22:54:36 +02:00
parent 5495297dea
commit 39ade3884d
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 29 additions and 0 deletions

29
.drone.yml Normal file
View File

@ -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