Add drone config
This commit is contained in:
parent
5495297dea
commit
39ade3884d
|
@ -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
|
Reference in New Issue