forked from ruangrupa/lumbung.space
28 lines
571 B
YAML
28 lines
571 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
name: continuous deployment
|
||
|
steps:
|
||
|
- name: build image
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
username:
|
||
|
from_secret: docker_reg_username
|
||
|
password:
|
||
|
from_secret: docker_reg_passwd
|
||
|
repo: decentral1se/beta.lumbung.space
|
||
|
tags: latest
|
||
|
|
||
|
- name: deploy stack
|
||
|
image: decentral1se/stack-ssh-deploy:latest
|
||
|
settings:
|
||
|
stack: beta_lumbung_space
|
||
|
host: lumbung.space
|
||
|
deploy_key:
|
||
|
from_secret: drone_ssh_lumbung.space
|
||
|
trigger:
|
||
|
branch:
|
||
|
- main
|
||
|
event:
|
||
|
exclude:
|
||
|
- pull_request
|