29 lines
600 B
YAML
29 lines
600 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
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|