27 lines
619 B
YAML
27 lines
619 B
YAML
---
|
|
kind: pipeline
|
|
name: publish
|
|
steps:
|
|
- name: build static
|
|
image: plugins/docker
|
|
settings:
|
|
username: abra-bot
|
|
password:
|
|
from_secret: git_coopcloud_tech_token_abra_bot
|
|
repo: git.coopcloud.tech/toolshed/docs.coopcloud.tech
|
|
tags: latest
|
|
registry: git.coopcloud.tech
|
|
|
|
- name: deployment
|
|
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
|
settings:
|
|
stack: coop_cloud_mkdocs
|
|
host: swarm-0.coopcloud.tech
|
|
deploy_key:
|
|
from_secret: drone_ssh_swarm-0_coopcloud_tech
|
|
depends_on:
|
|
- build static
|
|
trigger:
|
|
branch:
|
|
- main
|