docs/.drone.yml

40 lines
858 B
YAML
Raw Normal View History

2021-12-13 17:33:55 +01:00
---
kind: pipeline
2021-12-20 16:56:39 +01:00
name: deploy docs to local-it.org
2021-12-13 17:33:55 +01:00
steps:
2021-12-20 16:56:39 +01:00
- 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
2021-12-13 17:33:55 +01:00
- name: deployment
image: decentral1se/stack-ssh-deploy:latest
settings:
stack: "lit-docs"
deploy_key:
from_secret: drone_deploy_key
2021-12-18 10:21:03 +01:00
host: "local-it.lit"
2021-12-13 17:33:55 +01:00
user: "root"
2021-12-20 16:42:15 +01:00
port: 22
2021-12-13 17:33:55 +01:00
environment:
2021-12-20 17:29:22 +01:00
STACK_NAME: lit_docs
2021-12-13 17:33:55 +01:00
DOMAIN: docs.local-it.org
2021-12-20 17:01:02 +01:00
- name: notify
image: plugins/matrix
settings:
homeserver: https://matrix.org
2021-12-20 17:02:41 +01:00
roomid: DGQqJcgXkRwZcipMVI:matrix.local-it.org
2021-12-20 17:01:02 +01:00
username: lit-notify
password:
from_secret: matrix_password
2021-12-20 16:56:39 +01:00
trigger:
branch:
- main