lumbung.space/.drone.yml

44 lines
987 B
YAML
Raw Normal View History

2022-01-05 10:02:44 +00:00
---
kind: pipeline
name: continuous deployment
steps:
- name: push hugo image
2022-01-05 10:02:44 +00:00
image: plugins/docker
settings:
username:
from_secret: docker_reg_username
password:
from_secret: docker_reg_passwd
2022-01-05 10:42:06 +00:00
dockerfile: Dockerfile.hugo
2022-01-05 10:02:44 +00:00
repo: decentral1se/beta.lumbung.space
tags: latest
- name: push scripts image
image: plugins/docker
settings:
2022-01-06 15:06:18 +00:00
no_cache: true
username:
from_secret: docker_reg_username
password:
from_secret: docker_reg_passwd
dockerfile: Dockerfile.scripts
repo: decentral1se/beta.lumbung.space-scripts
tags: latest
2022-01-05 10:02:44 +00:00
- 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
depends_on:
- push hugo image
- push scripts image
2022-01-05 10:02:44 +00:00
trigger:
branch:
- main
event:
exclude:
- pull_request