docs/.drone.yml
Philipp Rothmann 3d97346ae6
All checks were successful
continuous-integration/drone/push Build is passing
disable matrix notification
2022-07-23 23:47:05 +02:00

39 lines
872 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: "docs.local-it.org"
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