30 lines
664 B
YAML
30 lines
664 B
YAML
|
---
|
||
|
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
|