All checks were successful
continuous-integration/drone/push Build is passing
31 lines
587 B
YAML
31 lines
587 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: deploy
|
|
image: registry.eterna.leafbla.de/pelipper
|
|
settings:
|
|
ssh_key:
|
|
from_secret: rsync_key
|
|
source: slaeforms/
|
|
destination: pelipper@oreburgh.leafbla.de:/srv/docker/janapp/slaeforms/
|
|
|
|
- name: restart
|
|
image: registry.eterna.leafbla.de/drowzee
|
|
settings:
|
|
host: oreburgh.leafbla.de
|
|
username: psyduck
|
|
key:
|
|
from_secret: deploy_key
|
|
command: |
|
|
cd /srv/docker/janapp;
|
|
docker compose down;
|
|
docker compose up --build -d;
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
|
|
image_pull_secrets:
|
|
- docker_config
|