docs.coopcloud.tech/.drone.yml

40 lines
903 B
YAML
Raw Normal View History

2020-10-23 13:18:08 +00:00
---
kind: pipeline
2022-01-21 13:21:34 +00:00
name: publish
2020-10-23 13:18:08 +00:00
steps:
2022-01-21 09:56:16 +00:00
- name: build static
2020-10-23 13:18:08 +00:00
image: plugins/docker
settings:
2021-06-17 19:02:34 +00:00
username: thecoopcloud
2020-10-23 13:18:08 +00:00
password:
2021-06-17 19:02:34 +00:00
from_secret: thecoopcloud_password
repo: thecoopcloud/docs.coopcloud.tech
2020-10-23 13:18:08 +00:00
tags: latest
- name: deployment
image: decentral1se/stack-ssh-deploy:latest
settings:
stack: coop_cloud_mkdocs
deploy_key:
from_secret: drone_ssh_swarm.autonomic.zone
2021-10-28 11:56:12 +00:00
depends_on:
2022-01-21 13:23:12 +00:00
- build static
2021-06-03 21:36:10 +00:00
- name: notify coopcloud-dev on failure
image: plugins/matrix
settings:
homeserver: https://matrix.autonomic.zone
roomid: "IFazIpLtxiScqbHqoa:autonomic.zone"
userid: "@autono-bot:autonomic.zone"
accesstoken:
2021-08-16 23:29:49 +00:00
from_secret: autonobot_rocketchat_access_token
2021-06-03 21:36:10 +00:00
depends_on:
2022-01-21 13:22:12 +00:00
- build static
2021-06-03 21:36:10 +00:00
- deployment
when:
status:
- failure
2020-10-23 13:18:08 +00:00
trigger:
branch:
2020-10-23 13:20:09 +00:00
- main