docs/.drone.yml
Philipp Rothmann 81a0d0525a fix ci
2021-12-20 17:29:30 +01:00

39 lines
858 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:
STACK_NAME: lit_docs
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