auto-recipes-catalogue-json/.drone.yml

28 lines
676 B
YAML
Raw Normal View History

2021-06-05 06:11:56 +00:00
---
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