diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..660f2a2 --- /dev/null +++ b/.drone.yml @@ -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