forked from coop-cloud/docs.coopcloud.tech
40 lines
903 B
YAML
40 lines
903 B
YAML
---
|
|
kind: pipeline
|
|
name: publish
|
|
steps:
|
|
- name: build static
|
|
image: plugins/docker
|
|
settings:
|
|
username: thecoopcloud
|
|
password:
|
|
from_secret: thecoopcloud_password
|
|
repo: thecoopcloud/docs.coopcloud.tech
|
|
tags: latest
|
|
|
|
- name: deployment
|
|
image: decentral1se/stack-ssh-deploy:latest
|
|
settings:
|
|
stack: coop_cloud_mkdocs
|
|
deploy_key:
|
|
from_secret: drone_ssh_swarm.autonomic.zone
|
|
depends_on:
|
|
- build static
|
|
|
|
- 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:
|
|
from_secret: autonobot_rocketchat_access_token
|
|
depends_on:
|
|
- build static
|
|
- deployment
|
|
when:
|
|
status:
|
|
- failure
|
|
trigger:
|
|
branch:
|
|
- main
|