docs/.drone.yml
Philipp Rothmann bc976d97f9
All checks were successful
continuous-integration/drone/push Build is passing
add recursive clone
2022-07-24 00:01:33 +02:00

47 lines
998 B
YAML

---
kind: pipeline
name: deploy docs to local-it.org
clone:
depth: 50
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- 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