28 lines
676 B
YAML
28 lines
676 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
name: publish new apps.json
|
||
|
steps:
|
||
|
- name: publish new json
|
||
|
image: decentral1se/abra
|
||
|
commands:
|
||
|
- mkdir -p /root/.ssh
|
||
|
- ssh-keyscan -p 2222 git.autonomic.zone > "/root/.ssh/known_hosts"
|
||
|
- /root/.local/bin/app-json.py
|
||
|
|
||
|
# - 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
|
||
|
# when:
|
||
|
# status:
|
||
|
# - failure
|
||
|
trigger:
|
||
|
branch:
|
||
|
- main
|