--- kind: pipeline name: publish new apps.json steps: - name: publish new json image: decentral1se/abra commands: - /root/.local/bin/app-json.py - ls -R /root/.local - ls /root - 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.autonomic.zone rm: true depends_on: - publish new json - 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 - deployment when: status: - failure trigger: branch: - main