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

35 lines
800 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:
- /root/.local/bin/app-json.py
2021-06-05 06:33:52 +00:00
- name: deployment
image: decentral1se/stack-ssh-deploy:latest
settings:
host: swarm.autonomic.zone
stack: coop_cloud_apps_json
deploy_key:
from_secret: drone_ssh_swarm_test
rm: true
2021-06-05 06:11:56 +00:00
# - 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