First stab at a CI setup
continuous-integration/drone/push Build is failing Details

This commit is contained in:
decentral1se 2021-06-05 08:11:56 +02:00
parent 2a2bab76b9
commit 3dcec0fc7c
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 27 additions and 0 deletions

27
.drone.yml Normal file
View File

@ -0,0 +1,27 @@
---
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