28 lines
580 B
YAML
28 lines
580 B
YAML
---
|
|
kind: pipeline
|
|
name: deploy to swarm.autonomic.zone
|
|
steps:
|
|
- name: bundle static
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: docker_reg_username
|
|
password:
|
|
from_secret: docker_reg_passwd
|
|
repo: decentral1se/autonomic.zone
|
|
tags: latest
|
|
|
|
- name: deployment
|
|
image: decentral1se/stack-ssh-deploy:latest
|
|
settings:
|
|
stack: jekyll
|
|
compose: docker-compose.prod.yml
|
|
deploy_key:
|
|
from_secret: drone_ssh_swarm.autonomic.zone
|
|
trigger:
|
|
branch:
|
|
- master
|
|
event:
|
|
exclude:
|
|
- pull_request
|