docs/.drone.yml
Philipp Rothmann 8cd799e14a fix roomid
2021-12-20 17:02:41 +01:00

38 lines
828 B
YAML

---
kind: pipeline
name: deploy docs to local-it.org
steps:
- name: build and publish image
image: plugins/docker
settings:
auto_tag: true
username: yksflip
password:
from_secret: docker_registry
repo: yksflip/lit-docs
tags: latest
- name: deployment
image: decentral1se/stack-ssh-deploy:latest
settings:
stack: "lit-docs"
deploy_key:
from_secret: drone_deploy_key
host: "local-it.lit"
user: "root"
port: 22
environment:
DOMAIN: docs.local-it.org
- name: notify
image: plugins/matrix
settings:
homeserver: https://matrix.org
roomid: DGQqJcgXkRwZcipMVI:matrix.local-it.org
username: lit-notify
password:
from_secret: matrix_password
trigger:
branch:
- main